- Nathael Bonnal
- Rafael Salort
- NodeJS v14 or +
- Writting in Typescript
- SGBD : PostgreSQL
- Framework: AdonisJS
- Sheet of functionalities
git clone git@github.com:NathaelB/MangaApi.git
cd ./MangaApi
npm install
cp .env.example .env
# Configure the environment file
# For launch in development environment
npm run dev
# For deploy
# With DOCKER
Each model is assigned a Policy
, in this policy it is given actions
actions (view/store/update/delete), and in the controller of the latter
of the latter, you can implement the bouncer in this way or not :
public async index ({ bouncer }: HttpContextContract) {
await bouncer.with('UserPolicy').authorize('view')
// ...
}