Skip to content

Covid 19 Tracer Application developed with Python and both relational database and no_sql database. This was developed in a team of 5 for ICT2103.

Notifications You must be signed in to change notification settings

asifexplore/Covid-Tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2103-covid-tracer

This is a SIT ICT2103 project developed using python.

The team consists of

@GeraldHeng @Luxreus @TanYuHui @NJinng Myself

Installation Guide

python -m venv venv
  • for VSC users, the following pop-up should appear at the bottom right of the screen: Click Yes image
  • Otherwise, change dir to the following to access venv: Type 'Activate' or 'Activate.ps1' and press enter after successful cd
cd /your/path/to/dir/venv/Scripts
C:/your/path/to/dir/venv/Scripts/Activate
  • The dir in cmd terminal should now look something like this:
  • image
  • run pip install requirements.txt
pip install -r requirements.txt
  • To run COVID Tracer in the RDBMS version, run the following:
python -u "c:\your\path\to\dir\2103-covid-tracer\rdbms_part\main.py"
  • To run COVID Tracer in the NoSQL version, run the following:
python -u "c:\your\path\to\dir\2103-covid-tracer\no_sql_part\main.py"

Note

  • helper dir contains the csv data files used for the project.
  • rdbms_part contains the mysql part of the project.
  • no_sql_part contains the mongodb + neo4j part of the project.
  • please run python main.py to run the project.
  • http://localhost:3000/ or http://127.0.0.1:3000/ will be the url for the flask application
  • db_statements dir contains all the developed db complex/mix statements.
  • templates dir contains all html files developed for Covid Tracer.
  • constants.py contains static variables that can be reused often, eg. table_name.

Current UI

Imgur Image Imgur Image Imgur Image Imgur Image

Resources

SQL Cloud Login Details

https://auth-db595.hostinger.com/index.php?db=u696578939_2103_covid Username: u696578939_2103_admin Password: jDHKIXZb+U0

NOSQL MONGO Cloud Login Details

URI: mongodb+srv://admin:[email protected]/?retryWrites=true&w=majority Username: admin Password: tJbJLK8YiYkDKYg

Neo4J Cloud Login Details

URI: neo4j+s://c6e9b0ba.databases.neo4j.io Username: neo4j Password: ookMFGysaMn9Iwy80SFMPKQazP1BSehgn1ocB4AWiig

ERD
Setup virtual environment
lat lng in mysql
Area and landmark data
Login Auth

https://github.com/tecladocode/simple-flask-template-app/blob/feature/login_next/app.py

MongoDB

https://github.com/robbyparlan/Flask-Mongodb/blob/master/mongo.py

About

Covid 19 Tracer Application developed with Python and both relational database and no_sql database. This was developed in a team of 5 for ICT2103.

Resources

Stars

Watchers

Forks