Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 913 Bytes

README.md

File metadata and controls

59 lines (44 loc) · 913 Bytes

About this project 🚀

Sns (like twitter) web app backend program.

Language: Go
DB: MySQL
API check: OpenAPI
Environment: Docker

Getting Started 🦎

Requirements

  • Go
  • docker / docker-compose

Build & Start

#terminal
$ cd [this repository]
$ docker-compose up -d

Operation

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.

Stop

#terminal
$ docker-compose down

Initialize

#terminal
docker-compose down
rm -rfd .data/mysql
docker-compose up -d

Check Logs

#terminal
docker-compose logs
docker-compose logs -f
docker-compose logs web
docker-compose logs -f web