InOutTracker

Tracker for mall management capacity, that keeps track of entrances and exits of the stores in pandemic context. It allows people to see if the mall is overloaded with other people so they can decide wheter to go or not.

How it runs

Our service has a MySQL database and a pulsar standalone client running in the background. After these two components are running we start the SpringBoot API which will connect to the Database and create a pulsar consumer. After that, we start the data generation python script that simulates real life flow for some shoppings and their stores. In this script we have to connect to the api and pulsar client. There's a producer for the message broker and in this script we generate a few data just for demonstration purposes. It periodically sends messages to the message broker (pulsar) through the created producer. The API consumer receives these messages and updates the database with the new information that later will be accessed via mobile and web apps that get database info from the API.

WebDemo

Click the image above to see the web app demonstration

MobileDemo

Click the image above to see the mobile app demonstration

How to run

Simply run the script 'run.sh' with:

$ ./run-sh

(You may need to give it permission to run $ chmod +x run.sh)

This script will:

  • Build and run the service backend with the docker-compose.yml file
  • Run the data generation script to simulate real life data
  • Run the webapp

How to run Mobile App

To run the mobile app properly is recommended to run $ ./run-sh locally and then start the app via Android Studio

Application endpoints

Open webapp at: deti-engsoft-08:5500/shoppings.html

  • To use the app as admin login to the following account:

    • Email: admin@inouttracker.com
    • Password: adminpass
  • To use the app as a security guard login to the following account:

    • Email: security@inouttracker.com
    • Password: securitypass

API is at port 8000

Students identification

98188 - Daniel Francisco - Architect

98324 - Henrique Sousa - Team manager(coordinator)

98498 - Daniel Figueiredo - DevOps master

100244 - Rui Delfim de Oliveira Júnior - Product owner

Bookmarks

API Documentation https://app.swaggerhub.com/apis-docs/InOutTracker/api-documentation/v1

Mobile App Pages and User Stories Overview https://github.com/daniff15/InOutTracker/tree/main/projmobile/mockup_overview

Management Boards https://github.com/daniff15/InOutTracker/projects

Report Editable Version https://docs.google.com/document/d/16kg7lIpYdTnfPisO5DxJrdOrjkCGBFBsKNpyiTpw5MI/edit?usp=sharing

Slides Editable Version https://docs.google.com/presentation/d/1ToChaujgk7Sp9dD28xwv_9YVa4XuHqFhX5cwqzSPtXs/edit#slide=id.g10f55be7511_0_10