Skip to content

Backend of the application that allows the inventory of employee vaccination.

Notifications You must be signed in to change notification settings

alexjcm/vaccination-inventory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Employee vaccination inventory

Backend for keeping track of employee vaccination status inventory.

Prerequisites

  • Java 8

  • Spring Boot 2.5.4

  • Postgres 11 running in a Docker container

  • Maven 3.6.3

  • Spring Boot OAuth2 Resource Server with JWT

  • Role Based Access Control (RBAC) with Spring Boot and JWT

  • Swagger UI (Swagger-OpenAPI 3) with Authentication

Test

  • JUnit 5
  • MockMvc
  • Mockito

Installation

Build and run Postgres in a container

Build image and run container with Docker Compose:

docker-compose up --build -d

Stop and remove networks and containers for services defined in the Compose file.

docker-compose down -v --remove-orphans

Then, compile and run the application.

Execute shell command inside container

Execute shell command inside container to initialize some sample records in the database:

docker exec -it dev-postgres bash

psql -U user_test -d db_test -a -f sample.sql

Run application

  • Use mvn clean install in the project root directory to build the project.
  • Run the main class, com.suprerapp.firstdemo.SuperappApplication to start the application.

Test the application

To test the application use the following administrator username and password:

Data model

DataModel

Swagger Paths

More resources about Spring Boot

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely:

About

Backend of the application that allows the inventory of employee vaccination.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published