This is built on top of the fullstack boilerplate for AdonisJs which comes pre-configured with.
- Bodyparser
- Session
- Authentication
- Web security middleware
- CORS
- Edge template engine
- Lucid ORM
- Migrations and seeds
It adds user registration, login and authentication. Also inspired by Laravel's php artisan make:auth
.
- Users can register on
http://localhost:3333/register
- Users can login on
http://localhost:3333/login
- Users can reset their passwords on
http://localhost:3333/password/reset
Use the adonis command to install the blueprint
adonis new app --blueprint=stephenafamo/adonis-auth-template
or manually clone the repo and then run npm install
.
Run the following command to run startup migrations.
adonis migration:run