You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Um projeto para estudo de construção e consumo de microserviços de Autenticação e Autorização utilizando Adonis.js e Typescript
🍸 Authentication Service Build
# go to authentication-svc
$ cd authentication-svc
# Create container with MySQL
$ docker-compose up -d
# Create your .env file using .env.example as an example# install dependencies
$ npm install
# Create database structure
$ node ace migration:run
#optional (create initial users)
$ node ace db:seed
# server with changes watcher
$ npm run dev
# build for production and launch server
$ npm run build
$ npm run start
🍸 Authorization Service Build
# go to authorization-svc
$ cd authorization-svc
# Create your .env file using .env.example as an example# install dependencies
$ npm install
# Create database structure
$ node ace migration:run
# server with changes watcher
$ npm run dev
# build for production and launch server
$ npm run build
$ npm run start