Api to register games(name, description, release date) and manager those games.Used only golang and mysql.
To this project your need:
Inside .docker create a first file mysql_password.txt and put your password mysql and create a second file mysql_root_password and put your password root mysql.This configuration wil be used by docker-compose.yaml.
In root folder create a file .env with:
MYSQL_URL="" // mysql url connection
Start Docker in your machine and run this commands in your terminal:
## up mongodb, kafka and mysql
❯ docker compose up -d
## run this command to install dependencies:
❯ go mod tidy
## run this command to start api(localhost:8080):
❯ go run main.go
- golang
- mysql
- docker
Made by Janapc 🤘 Get in touch!