React + TypeScript application built with Vite. It allows users to input their credentials and interact with a map interface where they can draw, modify, and delete polygons.
- Form Input: Users can enter their name and mobile number.
- Map Interaction: Users can draw, modify, and delete polygons on an OpenLayers map.
- Routing: The app uses React Router for navigation between the form and map pages.
- Node.js (v16 or higher)
- npm or yarn
- Clone the repository
- Run npm install to install dependencies
- Run npm run dev to start development server
Usage
- Navigate to the root URL (/) to access the form.
- Enter your name and mobile number, then submit the form.
- You will be redirected to the map page (/map), where you can: Draw polygons on the map. Delete all polygons using the "Delete All Polygons" button.
Technologies Used React: Frontend library for building user interfaces. TypeScript: Strongly typed programming language. Vite: Fast build tool for modern web projects. OpenLayers: Library for map rendering and interaction. React Router: Library for routing in React applications. ESLint: Linter for maintaining code quality.