Welcome to the Know Your City App, a React application that allows you to retrieve information about a city based on its PIN code. This application utilizes the Pin
component to facilitate the search and display relevant data.
-
Enter PIN Code:
- Input a 6-digit PIN code in the provided field.
-
Check City Information:
- Click the "Check" button to fetch and display information about the city associated with the provided PIN code.
-
View Data Modal:
- If the information is available, a modal will open, displaying details about the city, such as post office details.
Explore the source code on GitHub: Know Your City Repository
The Pin
component is responsible for handling the PIN code input, fetching city information, and displaying the results. It includes a modal from the Material-UI library for a user-friendly display.
git clone https://github.com/hmadhavan57/Know_Your_City.git
cd Know_Your_City
npm install
npm start
The app will be running at http://localhost:3000 by default.
Open your web browser and go to http://localhost:3000 to view the Know Your City App.
If you have any questions or encounter issues, feel free to open an issue on the GitHub repository.
Happy exploring and coding!