Containerize the applocation for better developer support

Open
#397 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, docker-compose, mongodb, nodejs, redis

Research direction

Start by inspecting the beacon-backend structure and existing environment configuration, then review the requested Dockerfile, docker-compose.yml, and .env.example changes. The work is complete when the Node.js application, MongoDB with persistent storage, and Redis can be started through Docker Compose, with local-development documentation and matching environment references.

Written by the indexing model from the issue text.

Description

Summary

beacon-backend is a nodejs application that uses mongodb for databasing and redis for pub-sub architecture. Containerizing this application would greatly help the developers to setup and work with the repository. This will speed up the development and testing processes too.

  • Cotainerizing the application using docker and docker compose
  • setting up the database instances in docker compose file for easy database spin up
  • modifying the .env.example and insert all the values as per the docker container

Implementation

  • Create a Dockerfile for the NodeJS application
  • Set up a docker-compose.yml file that includes:
    The application service
    MongoDB service with persistent volume
    Redis service
  • Update the .env.example file with appropriate Docker network references
  • Add documentation for local development with Docker

I would like to work on this issue. Please assign me @aadibajpai .

Dominant language
JavaScript
Stars
11
Forks
45
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CCExtractor/beacon-backend

All issues in CCExtractor/beacon-backend

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.