PERN-stack-boilerplate
- Uses express-generator to create the backend.
- Nodemon is used so the server is restarted, npm start script is also modified.
- Winston is set up.
- .env file can now be used.
- libraries can now easily be checked to see if they are updated
- uses helmet, express-session, rate-limiting, cookie-expiry for security
- Swagger. Available in /api-docs
- VSCode install ESLint and Prettier. eslint --fix [filename] and Format document
- Sequelize: npx sequelize model:generate --name User --attributes name:string,email:string
- Seed files: npx sequelize seed:generate --name User
Need to do:
- testing
- validator.js
- piplines (coverage testing, static code analysis, CI)
- ORM