GoMore (Golang, Docker, React, Mongodb, RabitMq, Nginx) boilerplate. Forked from https://github.com/McMenemy/GoDoRP
- Docker containers config
- React Redux Boilerplate
- Golang Mux API boilerplate
- Mongodb setup
- RabitMq
- Nginx config
- CD/CI Jenkins integration
- Anyone can contribute to your project locally without having to setup/install GOPATH, Mongodb, node etc
- Dev enviroment is the same as production enviroment
- Quickly get your GoMore project off the ground
- download docker-compose if not already installed Then run the following commands:
$ git clone https://github.com/hugominas/gomore.git yourAddDir.
$ docker-compose up
Then you can open the React frontend at localhost:3000 and the RESTful GoLang API at localhost:5000
Changing any frontend (React) code locally will cause a hot-reload in the browser with updates and changing any backend (GoLang) code locally will also automatilly update any changes.
Then to build production images run:
$ docker build ./api --build-arg app_env=production
$ docker build ./frontend --build-arg app_env=production
$ docker build ./db