Skip to content

fedect1/pokedex

Repository files navigation

Nest Logo

Run in Development

  1. Clone the repository
  2. Run
  yarn install
  1. Have Nest CLI installed
npm i -g @nestjs/cli
  1. Start the database
docker-compose up -d
  1. Clone env.template file and and rename it to .env
  2. Fill in the environment variables defined in .env
  3. Run the application in dev:
yarn start:dev
  1. Rebuild database with seed
http://localhost:3001/api/v2/seed

Production Build

  1. Create the .env.prod file
  2. Fill in the production environment variables
  3. Create the new image
docker-compose -f docker-compose.prod.yaml --env-file .env.prod up --build

Notes

Redeploy on Heroku without changes:

git commit --allow-empty -m "Tigger Heroku deploy"
git push heroku <master|main>

Stack Used

  • MongoDB
  • Nest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published