This project is a simple Next.js application that demonstrates the use of autocomplete search functionality with Ola Maps API.
Before you begin, ensure you have met the following requirements:
- Node.js 14.6.0 or newer
- npm or yarn package manager
- Ola Maps API key
To get a local copy up and running, follow these simple steps.
-
Clone the repository
git clone https://github.com/VinayakaHegade/ola-maps-poc.git
-
Navigate to the project directory
cd ola-maps-poc
-
Install NPM packages
npm install
or if you're using yarn:
yarn install
-
Create a
.env.local
file in the root directory and add your API key:NEXT_PUBLIC_OLA_API_KEY=your_ola_api_key_here
-
Start the development server
npm run dev
or with yarn:
yarn dev
-
Open http://localhost:3000 with your browser to see the result.