GOBACK is the backed of Locally written in Golang.
- Install MYSQL, insert dbname, username, password and host in the .env file.(copy .env.example)
- Docker
(Without Docker)
- RUN below command to download necessary packages:
$ go mod download
- RUN below command to run the project:
$ make run
- To RUN with hot reload support, RUN:
$ go get github.com/codegangsta/gin
$ make run-h
(With Docker)
- Run below command to create and run docker image
$ docker-compose up
- Check to see if docker is running by listing running docker and if goback container is in the list
$ docker ps
- To stop docker, RUN
docker-compose down
- To enter into docker container, RUN
docker exec -it goback bash