- Clonar el repositorio
- Ejecutar el comando
npm install
- Instalar nestCLI sino se tiene instalado
npm i -g @nestjs/cli
- Levantar la base de datos
docker-compose up -d
-
Clonar el archivo
.env.template
y renombrar la copia a.env
-
LLenar los valores del archivo
.env
-
Ejecutar la aplicacion usando el comando
npm run start:dev
- Reconstruir la base de datos con la semilla
http://localhost:3000/api/v2/seed
- Nest.js
- MongoDB
- Crear el archivo
.env.prod
- Llenar las variables de entorno de produccion
- Crear la nueva imagen
docker-compose -f docker-compose.prod.yaml --env-file .env.prod up --build