Skip to content

It's about dockerizing a MERN Stack app that i wrote about on Medium 🐳

Notifications You must be signed in to change notification settings

BLemine/medium-article-dockerize-mern-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About 👀 :

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 📃

Tree 🌲 :

  • client : the frontend source code
  • server : the backend source code

Setup 🎯 :

  • You'll need to create first a mongo database on Atlas from here
  • 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 🚀 :

Check the prod version from here

About

It's about dockerizing a MERN Stack app that i wrote about on Medium 🐳

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published