ifms-pti/server
2020-12-02 15:54:49 -04:00
..
prisma Rename User relation wifiDevices 2020-11-20 15:16:38 -04:00
src Decouple updateDevicesInfo: delegate to cronTasks 2020-12-02 15:54:49 -04:00
.babelrc Update Babel 2020-11-20 10:19:31 -04:00
.env.example Initial support for user-id mappings 2020-12-02 11:20:27 -04:00
.gitignore Version 2 initial commit 2020-11-06 09:31:28 -04:00
.prettierrc Version 2 initial commit 2020-11-06 09:31:28 -04:00
captain-definition Fix typo 2020-11-17 14:09:16 -04:00
Dockerfile Change Dockerfile build order 2020-11-17 14:59:50 -04:00
package-lock.json Update Prisma. Bugfix: set user correct in non identified devices 2020-11-26 14:56:01 -04:00
package.json Bump version to 2.2.0 2020-12-02 13:54:40 -04:00
README.md Updated READMEs 2020-11-17 17:01:41 -04:00

Portal de TI - Server

Servidor de API GraphQL para o Portal de TI do IFMS

Requisitos

  • Node
  • Docker
  • Docker Compose

Desenvolvimento

cp .env.example .env

Altere as variáveis de ambiente em .env

docker-compose up -d
npm run prisma-deploy # Rodar sempre que alterar o schema
npm run dev

Compilar para produção

npm run prisma-deploy
npm run build

Produção

Não é recomendado usar o arquivo .env em produção. Configure as variáveis de ambiente no servidor.

npm start

Desenvolvido pelo SERTI Ponta Porã