Skip to content

winstonma/MERN-Docker-using-GraphQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MERN-Docker-using-GraphQL

This is a boilerplate on the dockerize MERN stack, which includes a React frontend, an Express Backend, and a MongoDB. Running in one docker container.

In this demo, I just created the docker wrapper for the application. The code is based on the classsed-graphql-mern-apollo by hidjou. The application demonstrates the end-to-end CRUD (create, read, update, and delete) functionality.

Demo

Demo

Run the demo

  1. Install Docker

  2. Run the follow command in command prompt

$ git clone https://github.com/winstonma/MERN-Docker-using-GraphQL.git
$ cd MERN-Docker-using-GraphQL
$ docker-compose up
  1. Open browser and goto http://localhost:80

  2. (Optional) You can access API by opening the browser and goto http://localhost:5000

  3. (Optional) You can access database content by accessing mongodb://localhost:27017 using a MongoDB client (e.g. Mongo Compass)

Please execute docker-compose down in the command prompt to stop the demo

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published