Basic template that only contains the starter file for initializing a basic express server
/function
Should contians all the functions required for the server./middleware
Middleware used in the routes/routes
Routes for the server/models
Contains the schema of the database
We only have one routes generating scripts at the time of writing this document.
That is of routes
, the command to generate the routes is:
npm run routes <routesname>
. It creates routes in the routes folder only if the file does not exixts.
You need to generate some certificates to serve on https in development. Follow this guide in order to generate the certificates.