MapSense is a frontend web application built using React that provides information about postal services based on user input. This application utilizes a government API to fetch and display data related to post offices in India, including their names, types, locations, and other details.
- Collects user information (first name, last name, pincode, and email) on the homepage.
- Displays a table of post office details based on the user's pincode.
- Allows users to search for post office data by state name, district name, or pincode.
Follow these steps to set up and run the application:
-
Clone the repository to your local machine:
https://github.com/Sunilverma99/Mapsense.git
-
Navigate to the project directory:
cd my-project -
Install the necessary dependencies by running:
npm install
-
Start the application by running:
npm run dev
This application uses the All India Pincode Directory API provided by the Indian government. The API provides fields such as officename, pincode, officetype, statename, districtname, longitude, and latitude.
- API Source: All India Pincode Directory
- Form: Collects the user's first name, last name, pincode, and email.
- Table: Displays post office details based on the pincode provided by the user.
Allows users to search for post office data by:
- State Name
- District Name
- Pincode
- React: A JavaScript library for building user interfaces.
- External Api: An External api to collect the data.
- Redux:A state Management library.
- Navigate to the homepage.
- Enter your first name, last name, pincode, and email.
- Submit the form to view post office details related to your pincode.
- Use the search feature to find post office data by state name, district name, or pincode.
Contributions are welcome! Please open an issue or submit a pull request for any changes or improvements.
For any questions or feedback, please contact Sunil verma at sunilverma99706@gmail.com.