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
I have checked out:
- Adonis Structure and Architecture
- Requests
- Views and Edge template engine
- Forms
- Models
- Migrations
- Input Validation
- Flash Messages
- CRUD Operations
- Routing/Redirecting
- Middleware
- Exception Handlers
- Authentication
- Access Control and Conditional Rendering based on auth
- Override the auto-incrementing id of posts to use uuid/v4
- Model relationships (User has many Posts)
- Access Control and Conditional Rendering based on post relationship to user