Demo Link: https://digipin.netlify.app
The DIGIPIN (Digital Postal Index Number) App is a web application that allows users to find the DIGIPIN for any location in India. This app uses Mapbox for map visualization and the DIGIPIN calculation algorithm provided by India Post.
Before you begin, ensure you have met the following requirements:
- Node.js (v14 or later)
- npm (v6 or later)
- A Mapbox account and API token
-
Clone the repository:
git clone https://github.com/kutazama/digipin-app.git cd digipin-app
-
Install the dependencies:
npm install
-
Create a
.env
file in the root directory and add your Mapbox token:PUBLIC_MAPBOX_TOKEN=your_mapbox_token_here
To run the app in development mode:
npm run dev
Open http://localhost:3000 to view it in the browser.
To build the app for production:
npm run build
Contributions to the DIGIPIN App are welcome. Please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature/AmazingFeature
) - Make your changes
- Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License. See the LICENSE
file for details.
- India Post for the DIGIPIN initiative