An open API service indexing awesome lists of open source software.

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:

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/)