This repository is backend on LikeTwitterApp.
Name | Version | What | |
---|---|---|---|
backend | golang | 1.12.5 | High-level languages |
gin | 1.4.0 | Web FrameWork | |
gorm | 1.9.8 | ORM | |
DB | Postgresql | 11.5 | Database |
The following procedure, please install Docker For Mac or Docker For Windows
https://docs.docker.com/install/
git clone git@github.com:katsuomi/LikeTwitterApp-backend.git
cd LikeTwitterApp-backend
The following procedure, start the container.
# Create Docker image
$ docker-compose build
# Start Docker container
$ docker-compose up
# confirm
$ docker-compose ps
# in container shell
$ docker-compose exec like_twitter_app_backend /bin/bash
# run server
$ go run main.go