Skip to content

🔺 Inovando's template for adonis

Notifications You must be signed in to change notification settings

inovando/adonis-api-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adonis API application

🔺 Inovando's template for adonis

code style: prettier Commitizen friendly

Package Main Techs

Usage

  1. Setup a PostgreSQL

  2. Modify .env fulfilling variables as needed

  3. Initialize your project with this command:

adonis new yardstick --blueprint=inovando/adonis-api-app
adonis migration:refresh --seed
  1. Run the following command:
adonis serve --dev
  1. Done 🎉

PostgreSQL

Local install

Follow this link

Docker

docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -p 5432:5432 -d postgres

Migrations

Run the following command to run startup migrations.

adonis migration:run

Seeds

Run the following command to run recreate the database and seed.

adonis migration:refresh --seed

Postman

  1. Download Postman

  2. Import our Postman Collection from postman/Template Adonis.postman_collection.json

Postman Collection | First Step Postman Collection | Second Step

  1. Import our Postman Environment from postman/Template Adonis.postman_environment.json

Postman Environment | First Step Postman Environment | Second Step Postman Environment | Second Step

Features

  • 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

About

🔺 Inovando's template for adonis

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.6%
  • Perl 6.4%
  • Raku 1.3%
  • Shell 0.7%