Sns (like twitter) web app backend program.
Language: Go
DB: MySQL
API check: OpenAPI
Environment: Docker
- Go
- docker / docker-compose
#terminal
$ cd [this repository]
$ docker-compose up -d
access http://localhost:8081/ on Web browser
Check API.
- open one of API tabs and click
Try it out
and Execute something - The tabs marked with a key requires
username [your username]
to be entered (simple authentication)
Example.
Create account and Fetch the account info.
#terminal
$ docker-compose down
#terminal
docker-compose down
rm -rfd .data/mysql
docker-compose up -d
#terminal
docker-compose logs
docker-compose logs -f
docker-compose logs web
docker-compose logs -f web