- Docker: Install Docker on your machine by following the instructions at Docker Installation Guide.
To get this project up and running, follow these steps:
git clone https://github.com/manojpawarsj12/Digantara-assignment
cd Digantara-assignmentCreate a .env file in the root of your project and add the following environment variables:
DB_HOST=postgres
DB_USERNAME=postgres
DB_PASSWORD=manoj
DB_NAME=cron
DB_PORT=5432These variables are used to configure the database connection for the Nest.js application.
Build and start the application using Docker Compose:
docker-compose up --buildThis command will download necessary Docker images, build your Nest.js application container, and start both the Nest.js app and PostgreSQL container.
Once the Docker Compose process is complete, you can access your Nest.js application at http://localhost:3000.
Once the Docker Compose process is complete, you can access your Nest.js application Swagger Documentation at http://localhost:3000/api.
To stop the application and containers, press Ctrl + C in your terminal, and then run:
docker-compose down