Skip to content

Instantly share code, notes, and snippets.

@JacerOmri
Created March 4, 2018 16:25
Show Gist options
  • Save JacerOmri/a07c2e7b81402d2542ad621c08ce126d to your computer and use it in GitHub Desktop.
Save JacerOmri/a07c2e7b81402d2542ad621c08ce126d to your computer and use it in GitHub Desktop.
Build your carrer git node docker session
Prequeties:
- Nodejs
- Git
- Docker
Windows: https://store.docker.com/editions/community/docker-ce-desktop-windows
Ubuntu:
curl -fsSL get.docker.com -o get-docker.sh
sh get-docker.sh
http://yeoman.io/
https://github.com/ndelvalle/generator-api
npm install -g generator-api yo
yo api
## APP files created
# https://hub.docker.com/_/mongo/
docker run --name api-mongo -p 27017::27017 -d mongo
npm start dev
# http://localhost:8080/user
# https://github.com/JacerOmri/buildyc-api
# https://www.getpostman.com/
git init
git add . --all
git commit -m "initial commit"
git remote add origin githubUrl
git checkout -b feature/likes
# work work work
git checkout master
git merge feature/likes
git push origin master
docker-compose build
docker-compose up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment