node-api-template is a micro service api template
Go to file Use this template
2024-07-05 15:57:31 -04:00
.vscode first commit 2024-07-03 14:52:30 -04:00
bin docker file & compose setup 2024-07-05 15:34:48 -04:00
configs docker file & compose setup 2024-07-05 15:34:48 -04:00
db first commit 2024-07-03 14:52:30 -04:00
doc first commit 2024-07-03 14:52:30 -04:00
private first commit 2024-07-03 14:52:30 -04:00
scripts first commit 2024-07-03 14:52:30 -04:00
src rename 2024-07-05 15:52:14 -04:00
.dockerignore docker file & compose setup 2024-07-05 15:34:48 -04:00
.env.template add env variable 2024-07-05 15:57:31 -04:00
.eslintrc.js first commit 2024-07-03 14:52:30 -04:00
.gitignore first commit 2024-07-03 14:52:30 -04:00
.prettierrc first commit 2024-07-03 14:52:30 -04:00
.sequelizerc first commit 2024-07-03 14:52:30 -04:00
docker-compose.development.yml docker file & compose setup 2024-07-05 15:34:48 -04:00
docker-compose.production.yml docker file & compose setup 2024-07-05 15:34:48 -04:00
Dockerfile.development docker file & compose setup 2024-07-05 15:34:48 -04:00
Dockerfile.production docker file & compose setup 2024-07-05 15:34:48 -04:00
ecosystem.config.cjs first commit 2024-07-03 14:52:30 -04:00
jest.config.js first commit 2024-07-03 14:52:30 -04:00
LICENSE first commit 2024-07-03 14:52:30 -04:00
nodemon.json first commit 2024-07-03 14:52:30 -04:00
package-lock.json docker file & compose setup 2024-07-05 15:34:48 -04:00
package.json docker file & compose setup 2024-07-05 15:34:48 -04:00
README.md docker file & compose setup 2024-07-05 15:34:48 -04:00
tsconfig.json docker file & compose setup 2024-07-05 15:34:48 -04:00

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.