Skip to content

Go Microservice exposing a REST-API with MySQL database. Implements blood bank donation operations - part of LifeBlood project.

License

Notifications You must be signed in to change notification settings

life-blood/bloodbank-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Go Microservice exposing a REST-API with MySQL database. Implements blood bank donation operations - part of LifeBlood project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published