Frontend:
Backend:
Setup your .env
file and install dependencies separately for backend and frontend.
# Install dependencies for server
npm install
# Install dependencies for forntend
cd frontend
npm install
# Run the client & server with concurrently
npm run dev
# Run the server only
nodemon server.js or npm run server
# Run the frontend only
npm start
# Server runs on http://localhost:5000 and client on http://localhost:3000
# start container
docker compose up
# start services with detached mode
docker compose up -d
# stop all containers and remove images, volumes
docker compose down