Banco Mariadb
-
Script de criação em => ./api/database/script-database-create.sql
-
Configurar conexões em ./api/.env
Configuração da API no arquivo .env
- Selecionar conexão padrão em ./api/.env
CONNECTION_NAME="dev"
Instalar dependências
$ npm install
API start
$ npm start
Via Docker
$ sudo docker-compose up -d
Swegger: http://localhost:8097
# install dependencies
$ npm install
# serve
$ npm run start
# build for production
$ npm run build
$ npm run start:prod
Instalar dependências
$ npm install
API start
$ npm run dev
Via Docker
$ sudo docker-compose up -d
Front e back podem ser inicializados na raiz da pasta do projeto
$ sudo docker-compose up -d