node-api-template is a micro service api template
Go to file Use this template
2024-07-04 14:31:15 -04:00
.vscode first commit 2024-07-03 14:52:30 -04:00
bin first commit 2024-07-03 14:52:30 -04:00
configs first commit 2024-07-03 14:52:30 -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 check token from authorization and extract it if needed 2024-07-04 14:31:15 -04:00
.dockerignore first commit 2024-07-03 14:52:30 -04:00
.env.template first commit 2024-07-03 14:52:30 -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 first commit 2024-07-03 14:52:30 -04:00
docker-compose.production.yml first commit 2024-07-03 14:52:30 -04:00
Dockerfile.development first commit 2024-07-03 14:52:30 -04:00
Dockerfile.production first commit 2024-07-03 14:52:30 -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 first commit 2024-07-03 14:52:30 -04:00
package.json first commit 2024-07-03 14:52:30 -04:00
README.md first commit 2024-07-03 14:52:30 -04:00
tsconfig.json first commit 2024-07-03 14:52:30 -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.
  • On 1.0.0 release, finish the 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.