An open API service indexing awesome lists of open source software.

https://github.com/alexxnb/svelte-derver-starter

A starter for baking fullstack application with client based on Svelte framework and server side powered by Derver
https://github.com/alexxnb/svelte-derver-starter

Last synced: about 1 month ago
JSON representation

A starter for baking fullstack application with client based on Svelte framework and server side powered by Derver

Awesome Lists containing this project

README

        

# Svelte-Derver-Starter

A starter for baking fullstack application with client based on Svelte framework and server side powered by Derver.

### Features:

- Dev-mode with livereload
- Production ready web-server
- Middlewares on server side

### Getting started

Just run:

```sh
npx degit alexxnb/svelte-derver-starter myapp
cd myapp
npm install
npm run dev
```

Then open browser on `http://localhost:8080`, change files in the `src` and watch the changes.

### Building

Run your application in production mode with `npm start` command.

Or run `npm run build` and optimized application will be in the `dist` directory. Then you may copy it anywhere and run with `node app.js` inside this directory.