A progressive Node.js framework for building efficient and scalable server-side applications.
Processo Trainee 2022.2. Back-end do projeto de Gestão de Membros do Grupo 01
# Para atualizar o sistema
$ sudo apt update && sudo apt upgrade -y
# Baixar e instalar o postgres
$ sudo apt install postgresql postgresql-contrib libpq-dev -y
# Iniciar o postgres
$ sudo service postgresql start
# Criar um usuário no postgres
$ sudo -i -u postgres
$ psql
CREATE USER nomeDoUsuario WITH PASSWORD 'suaSenha';
ALTER USER nomeDoUsuario WITH SUPERUSER;
OBS: Após ter os schemas do prisma, rodar o seguinte comando
$ yarn prisma migrate dev
$ yarn install
# Desenvolvimento
$ yarn start
# Testes de unidade
$ yarn run test
# Testes assistidos
$ yarn test:watch
# Teste coverage
$ yarn test:cov
Nest is MIT licensed.