A Fastify project starter ready to be deployed on Zeit Now serverless platform.
- Handlebars as templating engine (others are supported as well)
- Milligram (sass) in
/scss
directory
Note : api/server.js
is the entry point. You can configure and change in now.json
file
- Node >= 10
- A Zeit account > signup
- Now CLI installed globally
- Node-sass installed locally or globally
- Install all dependencies
npm install
- Run Node-sass to keep watching for scss files update
npm start
Note: Alias to node-sass --watch
, see package.json
to edit
- Run server locally for testing
now dev
- Deploy app when ready
now
Enjoy !
Fastify for Serverless https://www.fastify.io/docs/latest/Serverless/
Zeit Now 2.0 https://zeit.co/now
Licence MIT