El objetivo es crear una serie de tareas usando Arquitectura Limpia con TypeScript.
- Clonar el archivo env.template a .env
- configurar las variables de entorno.
PORT=4000
MAILER_EMAIL=
MAILER_SECRET_KEY=
PROD=true
- Ejecutar el comando
npm install
- Levantar las bases de datos con el comando
docker compose up -d
- Ejecuatar
npm run dev
- Ejecutar
npx prisma generate
- Ejecutar
npx prisma migrate dev
- Si la base de datos existe
npx prisma db pull
para cargar la base de datos.