Skip to content

Add Dockerfile and docker-compose configuration #17

@Aryan3522

Description

@Aryan3522

Add Dockerfile and docker-compose configuration
Description

Add Docker support to containerize the application and simplify local development and deployment.

The goal is to make the backend portable and runnable in isolated environments without requiring manual dependency setup.

What Needs to Be Done

Create a Dockerfile for the Node.js application.

Create a docker-compose.yml file to run:

Node.js API

MongoDB service

Configure environment variable support.

Ensure the application runs successfully using:

docker-compose up --build

Update README with Docker setup instructions.

Acceptance Criteria

Application builds successfully in Docker.

API connects properly to MongoDB container.

No hardcoded environment variables.

Documentation updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions