API Example with TypeScript & NodeJS
- NodesJS >= 12.16.3
- MongoDB >= 4.1.2
$ npm install
$ npm run build
$ npm run start
$ npm run run
$ npm run build&run
Migrations can be only executed from dist folder, as the depenendy doesn't recognize typescript file extension. Migrations class has been used to initialize database structure upon first start, but can be used in cli.
$ npm run migrate:run:up
$ npm run migrate:run:down
$ npx db-migrate -e dev -m ./dist/services/migrations -v --config ./database.json create new_entitiy_table
- Account Authorization ( jwt )
- User Management RestFull API
- Roles & Permissions RestFull API