Skip to content

Adityaadpandey/Feedback-Management-Sys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Quick Guide: Build and Run Frontend & Backend with Docker

Prerequisites


Frontend Setup (Bun with Next.js)

Build and Run

  1. Navigate to Frontend Directory

    cd frontend
  2. Build Docker Image

    docker build -t frontend-app .
  3. Run Docker Container

    docker run -d -p 3000:3000 --name frontend-container frontend-app
  4. Access Application Visit http://localhost:3000.


Backend Setup (Node.js with TypeScript)

Build and Run

  1. Navigate to Backend Directory

    cd backend/
  2. Build Docker Image

    docker build -t backend-app .
  3. Run Docker Container

    docker run -d -p 8080:8080 --name backend-container backend-app
  4. Access Backend Visit http://localhost:8080.


Common Commands

  • Stop Container

    docker stop <container-name>
  • Remove Container

    docker rm <container-name>
  • View Logs

    docker logs <container-name>

About

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages