Skip to content

This project is a simple Next.js application that demonstrates the use of autocomplete search functionality with Ola Maps API.

Notifications You must be signed in to change notification settings

VinayakaHegade/ola-maps-poc

Repository files navigation

Next.js Search App with Ola Maps API

This project is a simple Next.js application that demonstrates the use of autocomplete search functionality with Ola Maps API.

Prerequisites

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

Getting Started

To get a local copy up and running, follow these simple steps.

Installation

  1. Clone the repository

    git clone https://github.com/VinayakaHegade/ola-maps-poc.git
  2. Navigate to the project directory

    cd ola-maps-poc
  3. Install NPM packages

    npm install

    or if you're using yarn:

    yarn install
  4. Create a .env.local file in the root directory and add your API key:

    NEXT_PUBLIC_OLA_API_KEY=your_ola_api_key_here
    

Running the application

  1. Start the development server

    npm run dev

    or with yarn:

    yarn dev
  2. Open http://localhost:3000 with your browser to see the result.

About

This project is a simple Next.js application that demonstrates the use of autocomplete search functionality with Ola Maps API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published