This is the boilerplate for creating an API server in AdonisJs, it comes pre-configured with.
- Bodyparser
- Authentication
- CORS
- Lucid ORM
- Migrations and seeds
- Exceptions & Sentry
- WebSocket
- Redis
- Hooks
- Validators
- Internationalization
- Push Notifications
Use the adonis command to install the blueprint
adonis new name --api-onlyor manually clone the repo and then run npm install.
Run the following command to run startup migrations.
adonis migration:run
adonis kue:listenRun the following command to run api.
adonis serve --dev
adonis kue:listen