/Ahcms

AHCMS Project (API, ClientApp, Arduino)

Primary LanguageC#

Automated Human Contact Monitoring System (AHCMS)

What is AHCMS? A contact tracing solution to the rising number of Covid-19 cases in the Philippine. In every establishment that utilizes AHCMS, processing time of information gathering is significantly shorter than manually inputting data of each visitor.


How to setup?

ARDUINO SETUP

Arduino Wiring Diagram

image

After setting up the Arduino hardware, compile and upload the code to the Arduino.

API SETUP

1. Go to your appsettings.json file then edit your connection string.
"AhcmsContext": "Data Source=InsertYourServerNameHere; Initial Catalog=AhcmsContext;"
2. Run your Package Manager Console and execute the following code:
This code creates migrations for your API database.
add-migration InitialDb
This code runs the migration code then updates the database.
dotnet ef database update --startup-project AhcmsAPI --context AhcmsContext
3. Setup for API is complete. You can now run the API and copy the API address to be used in setting up the windows application.

WINDOWS APPLICATION SETUP

1. Go to solution explorer. Right click the project then select properties.
2. In the properties page, select the Settings tab. You will find the ApiAddress settings there.

image

3. Change its value to the API address you have right now. Make sure API is running when you run the windows application.

User Interface

COMMON MODULE

Login page

image

Dashboard tab

image

ADMIN MODULE

Admin tab

image

Register tab

image