a really really really crap Go service with no sense at all. Just trying my best to learning and keeping fun for myself
- First you need to know that i don't know what i'm doing.
- You need to have go instaled in your machine: https://golang.org/doc/install
- You need docker with a mysql image installed: https://docs.docker.com/get-docker/
- run this command in the terminal: docker run -p 3306:3306 --name some-mysql -e MYSQL_ROOT_PASSWORD=root -d mysql
- create a schame called "truck" : CREATE SCHEMA truck
- create a table hello: CREATE TABLE hello(melancia varchar(255), gatinha varchar(255), picole varchar(255))
- run in the project root: go run .
- Open your request manager thing-magingy and start making requests..........
- i don't know, have some fun
- Don't ask me why the hell the service is called player-leaderboard. Just go with it (trust me, dont even remember anymore)