This my example project showcasing my React + Redux + React-Router + NodeJS + MongoDB integration and deployment via Docker. Note: There is no authentications, passwords or security preventative measures, it's a todo app!
Here is a link to my taiga.io project management dashboard where I broke down the requirements similar to how I would have done in other apps like Jira etc. Taiga Project Sprint Breakdown
- Install the latest version of docker & virtualbox and start a 'default' machine using ubuntu as your OS.
- Install docker-compose
- Pull down the latest image for mongodb from dockerhub
- Pull down the latest image for NodeJS from dockerhub
git clone https://github.com/danieldram/simpsons-todo-app simpsons-todo-app
cd simpsons-todo-app
npm install
cd server
npm install
cd ..
docker-machine start default
docker-machine env default
[paste the docker-shell command output ]
docker-compose build
docker-compose up -d
[navigate to http://localhost:3005 in your browser]
- Install MongoDB on your host machine
- Run Mongod on port 3001
git clone https://github.com/danieldram/simpsons-todo-app simpsons-todo-app
cd simpsons-todo-app
npm install
cd server
npm install
[edit .env file] -> change mongodb connection string to your localhost:3001 one
npm start
[navigate to http://localhost:3005]