Skip to content

ryojiroakiyama/Go_twitter_backend

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published