A responsive and user-friendly Currency Converter web application built with React.js. This app allows users to convert between different currencies using real-time exchange rates with a sleek UI and dark mode support.
- 💵 Real-Time Currency Conversion
- 🔍 Live Exchange Rates via API Integration
- 🌟 User-Friendly and Responsive UI
- 🌙 Dark Mode Toggle for Better Accessibility
- ⬆️⬇️ Dropdowns for Selecting Currencies
- Frontend: React.js, CSS
- API: ExchangeRate API
- Package Manager: npm
-
Clone the Repository:
git clone https://github.com/adiprijal/Currency-Converter.git cd Currency-Converter
-
Install Dependencies:
npm install
-
Run the App:
npm start
The app will run at
http://localhost:3000
. -
Build for Productions:
npm run build
- Enter the amount you want to convert.
- Select the currencies from the dropdowns.
- Click the Convert button to see the result.
- Toggle Dark Mode for a different UI theme.
herapheri/
├── public/
│ ├── index.html
│ └── favicon.ico
├── src/
│ ├── components/
│ │ ├── Layout/
│ │ │ ├── Footer.jsx
│ │ │ ├── Footer.module.jsx
│ │ │ ├── Navbar.css
│ │ │ └── Navbar.module.css
│ │ └── shared/
│ │ ├── PageTransition.jsx
│ │ ├── PageTransition.module.jsx
│ │ ├── SectionTitle.jsx
│ │ └── SectionTitle.module.css
│ ├── context/
│ │ ├── currency.json
│ │ └── ThemeContext.js
│ ├── images/
│ │ ├── logo.svg
│ │ └── light-mode.png
│ ├── pages/
│ │ ├── Converter.jsx
│ │ ├── Converter.css
│ │ ├── Currency.jsx
│ │ ├── Currency.module.css
│ │ ├── ExchangeRate.jsx
│ │ └── ExchangeRate.module.css
│ ├── App.jsx
│ ├── App.module.css
│ ├── index.js
│ └── index.css
├── package.json
├── .gitignore
└── README.md
- Base URL:
https://api.exchangerate-api.com/v4/latest/{currency}
- Example: Convert from USD to NPR
https://api.exchangerate-api.com/v4/latest/USD
- Fork the repository.
- Create your feature branch:
git checkout -b feature/YourFeature
- Commit your changes:
git commit -m "Add your feature"
- Push to the branch:
git push origin feature/YourFeature
- Open a pull request.
This project is licensed under the MIT License.
For any inquiries or suggestions, feel free to contact:
Adip Rijal
Email: [email protected]
GitHub: adiprijal
Enjoy using the Currency Converter App! 📈