A starter for baking fullstack application with client based on Svelte framework and server side powered by Derver.
Just run:
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.
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.