A starter for baking fullstack application with client based on Svelte framework and server side powered by Derver.
- Dev-mode with livereload
- Production ready web-server
- Middlewares on server side
Just run:
npx degit valexr/pagy myapp
cd myapp
npm install
npm run dev
Then open browser on http://localhost:1313
, 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.