Skip to content

Latest commit

 

History

History
38 lines (21 loc) · 841 Bytes

README.md

File metadata and controls

38 lines (21 loc) · 841 Bytes

Microservice for donations exposing REST-API with MySQL database

Supports CRUD operations for Donation entity

See project docs: https://github.com/life-blood/documentation

Run locally

$ 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

LifeBlood Project Architecture

alt text