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
- Host: GitHub
- URL: https://github.com/alexxnb/svelte-derver-starter
- Owner: AlexxNB
- License: mit
- Created: 2021-01-12T21:54:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-03T10:57:57.000Z (over 3 years ago)
- Last Synced: 2023-03-03T03:52:03.842Z (about 2 years ago)
- Language: JavaScript
- Size: 22.5 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.