Skip to content

su-mangale/mern-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN stack (Docker Compose)

This repository contains a minimal MERN (MongoDB, Express, React, Node) example wired up for Docker Compose.

How to run

  1. From the project root run:
docker compose up --build
  1. The client will be served at http://localhost:3000 and the server API at http://localhost:5000/api

Notes

  • The server connects to MongoDB using the MONGO_URI env var. docker-compose sets this to the mongo service.
  • To develop locally without Docker, run npm install in server and client and use the dev scripts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published