This is the fullstack boilerplate for AdonisJs, it comes pre-configured with.
- Bodyparser
- Session
- Authentication
- Web security middleware
- CORS
- Edge template engine
- Lucid ORM
- Migrations and seeds
Use the adonis command to install the blueprint
adonis new yardstick
or manually clone the repo and then run npm install
.
Run the following command to run startup migrations.
adonis migration:run
Run the following command to serve the project in development mode. It's recommended to use something like pm2 or forever to run in production.
adonis serve