a transactional database system using golang, mysql, and docker
PreInstall
How to use
- Clone this Repository using
git clone
- Run Docker Desktop
- use CMD Command on this project root
docker-compose build
docker-compose up
- access http://localhost:8080/swagger/index.html#/
- The app is ready to use.
Database included and can be accessed at http://localhost:5003
root
-db // Contain Db Configuration file
-controller // Contains Controllers
-docker // Contain app.dockerfile for dockerise
-docs // auto-generated file by Swagger
-middleware // middlewares for auth
-model // Contains Models for database structure
-route // Contains Routes
-util // Conatins utility file for multiple uses
.env // an env file
.docker-compose.yml // docker related file
go.mod // go mod
main.go // the main.go
README.md // this Readme file
- phpmyadmin
username: root
password: root