Supports CRUD operations for Donation entity
See project docs: https://github.com/life-blood/documentation
$ git clone https://github.com/life-blood/bloodbank-service/
Configure Local MySql Server and setup credentials in .env file or have configured environment varibales
DB_PORT=3306
DB_USER=root
DB_PASS=password
DB_NAME=bloodbankdb
Run db-init.sql
script and initialize the database
Start the server
$ go run ./main.go
Run tests
$ go test ./...
Follow the instructions to configure UI and LifeBlood microservice