一覧へ戻る
thetechnocrat-dev/GoDoRP(新しいタブで開きます)
主要言語: JavaScript
GoDoRP (Golang, Docker, React, Postgres)
- star 数
- 205
- watcher 数
- 6
- fork 数
- 45
- issue 数
- 3
- 最終更新
- 2018/12/22
主要言語: JavaScript
GoDoRP (Golang, Docker, React, Postgres)
GoDoRP (Golang, Docker, React, Postgres) project starter.
Disclaimer: This project is not actively supported and not recommended for production apps. Hope it serves as a learning resource.
$ mkdir myApp $ cd myApp $ git clone https://github.com/McMenemy/GoDoRP.git . $ 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 automatically 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