Skip to content

The GRAD:ME! web app is an interactive dashboard built with Dash in order to enable its users (final-year unversity students) to visualise data related to employment prospects for various courses and study modes.

Notifications You must be signed in to change notification settings

sirine-b/GRAD-ME-Web-App

Repository files navigation

GRAD:ME! Web App

OVERVIEW

The GRAD:ME! web app is a dashboard built with Dash in order to enable its users (final-year unversity students) to visualise data related to employment prospects for various courses and study modes.

This dashboard enables the students to selects their course, study mode (Full-Time or Part-Time), kis level (3 or 4) and their countries of interests within the UK and view data regarding the expected salaries, graduates' satisfaction rate and much more!

INSTALLATION and EXECUTION

1. Clone repository

Clone the repository to your virtual IDE

2. Create and activate a virtual environment in the project folder

MacOS:

python3 -m venv .venv
source .venv/bin/activate

Windows:

py -m venv .venv
.venv\Scripts\activate

3. Installations

a. Install latest version of pip

pip install --upgrade pip

b. Install Dependencies

To install the dependencies required to run this REST API, enter the following command in your IDE terminal:

pip install -r requirements.txt

c. Install the GRAD:ME! Dash app code

pip install -e .

4. Run the Application

  • Run the application with the command:
python src/app.py --debug

TESTING

1. Through GitHub Actions (Continuous Integration)

All the tests were ran through Github actions as that is what worked best for me. To do so, simply:

a. Check the dash_app.yml file exists within the .github/workflows folder

b. Commit and sync any changes made locally onto your main branch on GitHub

Pycharm:

  • Go to VCS > Git > Commit File . Click on Commit File Button.
  • Write your commit message and click on Commit.
  • Then, to push the changes onto GitHub: Go to VCS > Git > Push

VSCode:

  • Go to the Source Control (or Ctrl+Shift+G) tab.
  • Write your commit message and click on Commit and then Sync

c. Check latest workflow run to view test results and coverage report

Go to your GitHub repository for this app. Click on the Actions tab at the top of the page. Open the last workflow run.

2. Locally

If you would like to, instead, try to run the tests and obtain the coverage reports locally, you can follow these next steps:

a. Run the tests

To run the tests, execute the following command:

pytest -v

b. Test Coverage

Run the tests with coverage:

coverage run -m pytest tests/test_dash_app.py

Obtain the coverage report:

coverage report -m

About

The GRAD:ME! web app is an interactive dashboard built with Dash in order to enable its users (final-year unversity students) to visualise data related to employment prospects for various courses and study modes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published