CurrencyConverter is a simple mobile application built using React Native and Expo. This app allows users to convert currency values between USD and LKR (Sri Lankan Rupee). The app provides a single interactive screen for users to input amounts in USD, which will be instantly converted to LKR based on the current exchange rate.
- Currency Conversion: Convert amounts from USD to LKR using the most recent exchange rate.
- Interactive Input: Users can input USD amounts directly to get the corresponding value in LKR.
- Minimal UI: A single screen with a clean and intuitive design.
To set up and run the CurrencyConverter app, follow these steps:
-
Clone the repository:
git clone https://github.com/your-username/CurrencyConverter.git cd CurrencyConverter -
Install the dependencies:
npm install
-
Start the application:
expo start
This will launch the Expo Developer Tools. You can scan the QR code with your mobile device to view the app or use an emulator.
The following dependencies are used in the project:
- Expo: Framework for building React Native apps.
npm install expo
- Input Amount: Enter the amount in USD in the input field.
- Conversion: The converted value in LKR will be displayed instantly below the input field.
Below is a screenshot of the CurrencyConverter app:
---
.
├── README.md
├── App.js
│── Components
├ ├── CurrencyConvert.js
└──index.js
Contributions are always welcome! If you find any issues or want to improve the project, feel free to fork the repository and submit a pull request. Here’s how you can contribute:
- Fork the repository
- Create a new branch for your changes
- Make your changes and commit them
- Push to your forked repository
- Open a pull request to the main repository
This project is licensed under the MIT License - see the LICENSE file for details.