Skip to content

CSC3004 Lab Assessment to create SafeEntry system with gRPC protocol

Notifications You must be signed in to change notification settings

garytann/CSC3004-SafeEntry-gRPC

Repository files navigation

CSC3004-SafeEntry-gRPC

CSC3004 Lab Assessment to create SafeEntry system with gRPC protocol

How to run the program

Building the Docker image

docker compose build

Run the Docker image

docker compose up

Stop the Docker image

docker compose down

Once the container is running, run the client script to use the function

python safeentry_client.py

Functions the clients are able to use

  • Enter your NRIC and Name to begin the program
    1. Check-in to location
    1. Check-out of location
    1. Group Check-in
    1. Group Check-out
    1. Get visit history

Functions the admin are able to use

  • Enter 'admin' as the NRIC
    1. Add infected location
    1. Check-in to location
    1. Check-out of location
    1. Group Check-in
    1. Group Check-out
    1. Get visit history

Automated test (Windows)

Just run the run_test.bat file

Automated Test (MAC)

bash run_test.sh

About

CSC3004 Lab Assessment to create SafeEntry system with gRPC protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published