Skip to content

damaradiprabowo/ppp-calculator-flask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PPP Salary Calculator

This project is a web application that calculates equivalent salaries between countries based on Purchasing Power Parity (PPP). It provides users with insights into how their salary might translate to different countries, considering factors like GDP per capita and income levels.

Features

  • Calculate equivalent salaries between countries
  • Display additional country information (capital city, income level, GDP per capita)
  • Responsive design for various screen sizes
  • Loading animation during calculations
  • Informational popups for credits and definitions

Tech Stack

  • Backend: Python with Flask
  • Frontend: HTML, CSS, JavaScript
  • APIs: World Bank API, Rest Countries API

Setup and Installation

  1. Clone the repository:
    git clone [email protected]:damaradiprabowo/ppp-calculator-flask.git
  2. Install the required Python packages:
    pip install -r requirements.txt
  3. Run the Flask application:
    python app.py
  4. Open a web browser and navigate to http://localhost:5000

Project Structure

PPPCalculator/
│
├── app.py                      # Main Flask application
├── requirements.txt            # Python dependencies
├── templates/
│   └── index.html             # HTML template for the main page
└── static/
    ├── css/
    │   └── styles.css         # CSS styles for the application
    └── js/
        └── script.js          # JavaScript for frontend functionality

Credits

Credits to the following resources: