Skip to content

Files

Latest commit

 

History

History

frontend-app

RepairRadar Frontend

Welcome to the frontend for RepairRadar, built with React JavaScript. This repository serves as the user interface for RepairRadar, providing a seamless and interactive experience. Below, you'll find essential information to get started with the project.

Getting Started

This project was bootstrapped with Create React App, providing a solid foundation for building modern React applications.

Prerequisites

Make sure you have Node.js and npm installed on your machine.

Installation

  1. Navigate to the project directory: cd frontend-app
  2. Install dependencies: npm install or npm install --legacy-peer-deps

Available Scripts

In the project directory, you can run the following scripts:

npm start: Runs the app in development mode. Open http://localhost:3000 to view it in your browser. The page will reload when you make changes.

npm test: Launches the test runner in interactive watch mode.

npm run build: Builds the app for production to the build folder.

npm run eject: Ejects from Create React App, giving you full control over configurations. Note that this is a one-way operation.

npm run format: Formats all of the code into the standard style.

Configuration

Before running the application, create a .env file in the frontend-app folder and provide the following variables:

REACT_APP_GOOGLE_API_KEY=your-google-maps-api-key REACT_APP_API_URL=http://your-backend-api-url:port

Make sure to replace your-google-maps-api-key and your-backend-api-url:port with your actual Google Maps API key and backend API URL.