node-api-template is a micro service api template
| .vscode | ||
| bin | ||
| configs | ||
| db | ||
| doc | ||
| private | ||
| scripts | ||
| src | ||
| .dockerignore | ||
| .env.template | ||
| .eslintrc.js | ||
| .gitignore | ||
| .prettierrc | ||
| .sequelizerc | ||
| docker-compose.development.yml | ||
| docker-compose.production.yml | ||
| Dockerfile.development | ||
| Dockerfile.production | ||
| ecosystem.config.cjs | ||
| jest.config.js | ||
| LICENSE | ||
| nodemon.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
node-api-template
node-api-template is a micro service api template.
Installation
Todo
Todo
Application:
- Create an error handler wrapper for all the routes.
- Create docker file and docker-compose file.
- Create tests using samples data
- Create seed data
Caching:
- Create a base interface for caching
- Create logics to invalidate cached data
Authentication:
- Implement users authentication, registration, login.
- Implement api key functionality for the users.
- Implement a role based access control for the users.
- Secure all the content and action based on roles.
- Secure all the important routes with a middleware based on roles.