Skip to content

Eppu/locator-map

Repository files navigation

Entity Locator App

This is a simple Next.js app that allows users to see the location of entities on a map, and to determine their distance to them by clicking on it.

The app uses Next.js, TypeScript and Leaflet as its main technologies. Testing is done through Jest, but I currently lack the time to work on proper unit or E2E tests.

Technologies Used

  • Next.js
  • React
  • TypeScript
  • Leaflet
  • Jest (incomplete)

Getting Started

Follow these steps to set up the project locally:

  1. Clone the repository:

    git clone https://github.com/eppu/locator-map.git
  2. Navigate to the project directory:

    cd locator-map
  3. Create a .env file based on the provided .env.sample file and fill in the required values:

    cp .env.sample .env
    
  4. Install dependencies:

    npm install
  5. Run the development server

    npm run dev

The app will be accessible at http://localhost:3000.

How to Deploy

The project is automatically deployed through Vercel when commits are pushed to the 'main' branch.