https://github.com/blemine/medium-article-dockerize-mern-app
It's about dockerizing a MERN Stack app that i wrote about on Medium :whale:
https://github.com/blemine/medium-article-dockerize-mern-app
article docker docker-compose medium-article
Last synced: about 2 months ago
JSON representation
It's about dockerizing a MERN Stack app that i wrote about on Medium :whale:
- Host: GitHub
- URL: https://github.com/blemine/medium-article-dockerize-mern-app
- Owner: BLemine
- Created: 2020-11-10T15:15:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-21T17:15:57.000Z (over 5 years ago)
- Last Synced: 2025-06-27T04:49:09.886Z (12 months ago)
- Topics: article, docker, docker-compose, medium-article
- Language: JavaScript
- Homepage:
- Size: 1.12 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

### About :eyes: :
It's about the source code of a **Medium** article that i wrote titled **Dockerize a MERN stack app**
You can find the article [here :page_with_curl:](https://baillahiamine.medium.com/)
### Tree :evergreen_tree: :
- **client :** the frontend source code
- **server :** the backend source code
### Setup :dart: :
- You'll need to create first a mongo database on Atlas from [here](https://account.mongodb.com/)
- Choose a movies database provider and get your **api_key**
- Edit the file **"server/access.json"** with your crendentials :
- change the api_key with yours
- in the second line of "server/access.json" change and with your Atlas mongodb crendentials.
- Edit the file **"client/src/services/index.js"** :
- in the line third line change baseURL with your docker machine ip :
- on Windows : just type ```docker-machine ip``` and that will give you the ip address to put
- on Linux/Mac : try with either "localhost" or try to get your docker machine ip by looking it up in your config file
### Demo :rocket: :
[Check the prod version from here](https://medium-article-src-code.vercel.app/)