Skip to content

Provides basic backend system for blood-bank management with limited functionality. The application is written in JAVA spring boot and uses Postgresql as database.

Notifications You must be signed in to change notification settings

gauravshelangia/blood-bank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blood-bank

This application implements the whole backend system for managing multiple blood banks. The whole appliaction is written in java with Spring boot framework.

Requirements

Install postgresql

* `brew install postgres` (Mac OsX command)
* `brew services start postgresql` (start postgres)

Setting up user and database with postgres

* `create user root with encrypted password 'admin';` (create use)
* `create database blood_bank; (create database);`
* `grant all privileges on database blood_bank to root;` (grant permission to the user on database auth_wizard)

Deployment

* clone this repository
* `cd blodd-bank`
* `mvn clean install` -- build project
* populate properties file values
* cd rest-web
* `mvn spring-boot:run` -- command to deploy this project

Verification

* After deployment, open swagger-ui using endpoint (localhost:8080/blood-bank/swagger-ui.html)
* In swagger-UI, there are two endpoint all functionality required

About

Provides basic backend system for blood-bank management with limited functionality. The application is written in JAVA spring boot and uses Postgresql as database.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages