Skip to content

adixmr/salaryconverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Equivalent Salary Converter Using PPP

A salary of INR 45k is roughly equal to $600 but if you move from India to USA, $600 cannot give you the same standard of living. You cannot purchase the same goods and services for $600 that you used to get for INR 45k in India.

PPP or purchasing power parity comees into the play to get a fair conversion rate. This project converts the amount using PPP concept and gives you a quick Conversion Factor between two selected countries. As of today, the conversion factor between India and USA is 3.4 which means for the same job, the salary in the US should be around 3.4x

Demo

https://adityarajput.com/salary-converter

Screenshots

App Screenshot

Environment Variables (Optional)

To increase rate-limits, get an API KEY from freecurrencyapi.net and add to your .env file as

CURRENCY_KEY

Run Locally

Clone the project

  git clone https://github.com/adixmr/salaryconverter.git

Go to the project directory & Install dependencies

  cd salaryconverter

  npm i

Create a .env file and add freecurrencyapi.net API Key (Optional)

  nano .env
  
  CURRENCY_KEY=<KEY_HERE>

Start the Development server

  npm run dev

Start the Frontend server

  cd client && npm start

Acknowledgements

Tech Stack

Client: React, Bootstrap

Server: Node, Express

License

MIT

🔗 Links

linkedin