This is the backend server for Khokha Entry on OneStop IITG setup with Docker Compose for building and running in a containerized environment.
- Node.js
- Docker
- Docker Compose
-
Clone this repository:
git clone https://github.com/swciitg/khokha_entry_backend.git
-
Navigate to the project directory:
cd khokha_entry_backend
-
Build the Docker image and start the server:
docker compose -f docker-compose.dev.yml up --build
Once the Docker container is up and running, you can access your Node.js server at http://localhost:7500
.
You can configure your Node.js server by modifying the .env.dev
, Dockerfile.dev
and docker-compose.dev.yml
files according to your requirements.
Dockerfile.*
: Contains instructions to build the Docker image for your Node.js server.docker-compose.*.yml
: Defines the Docker services and configurations for building and running the container.app.js
: Entry point file for the Node.js server.package.json
: Node.js project configuration file.