🔺 Inovando's template for adonis
-
Setup a PostgreSQL
-
Modify
.env
fulfilling variables as needed -
Initialize your project with this command:
adonis new yardstick --blueprint=inovando/adonis-api-app
adonis migration:refresh --seed
- Run the following command:
adonis serve --dev
- Done 🎉
docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d postgres
Run the following command to run startup migrations.
adonis migration:run
Run the following command to run recreate the database and seed.
adonis migration:refresh --seed
-
Download Postman
-
Import our Postman Collection from
postman/Template Adonis.postman_collection.json
- Import our Postman Environment from
postman/Template Adonis.postman_environment.json
- Bodyparser
- Authentication
- CORS
- Lucid ORM
- Migrations and seeds
- Abstração Controller/Repository
- Bumblebee (include)
- Enviar e-mails
- Método para autenticar, resetar senha
- Endpoints
/me
- Abstração de profiles
- Upload de arquivos genérico
- Sentry
- Redis Cache
- User and Profile Seeder
- Commitizen Friendly