Skip to content

Latest commit

 

History

History
62 lines (37 loc) · 1.4 KB

README.md

File metadata and controls

62 lines (37 loc) · 1.4 KB

Pinball Locator App

Overview

The Pinball Locator App is a web application that allows users to find pinball locations based on their geographic coordinates. It leverages the Pinball Map API(https://pinballmap.com/api/v1/docs) to retrieve pinball locations within a specified range of latitude and longitude.

Features

  • Search by Coordinates: Users can enter latitude and longitude values to search for pinball locations in a specific area.
  • Near Me: Users can use their device's geolocation to find pinball locations near their current location.
  • Error Handling: The app provides feedback on invalid coordinates and handles errors from the Pinball Map API.

Technologies Used

  • React
  • JavaScript
  • Pinball Map API
  • Styled Components
  • Testing Library

Getting Started

Prerequisites

  • Node.js and npm installed on your machine.

Installation

  1. Clone the repository:

    git clone 
    
  2. Navigate to the project directory:

    cd pinball-locator-app
    
  3. Install dependencies:

    npm install
    
  4. Start the development server:

    npm start
    
  5. Open the app in your browser:

    http://localhost:3000
    

Test

Run tests using the following command:

    npm test

Sorting Locations if I had more time

Sorting locations by distance of inputtws longitude and latitude.