Categorygithub.com/raphaelkieling/go-vote
repositorypackage
0.1.2
Repository: https://github.com/raphaelkieling/go-vote.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# README

Go-Vote

A simple api for study. I have some goals:

  • Allow a big concurrent requests with concurrent write/read database
  • Allow the same ip make multiple votes but create a hash (like a blockchain algorithm) to make the process harder.
  • Use basic auth to have some security, but i don't need login (jwt, auth0)
  • Make unit tests
  • Make integration tests with docker-compose and git ci/cd

How run

# To create a mysql database
docker-compose up

# Create a env
cp env-example .env

go run .