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.
This project was bootstrapped with Create React App, providing a solid foundation for building modern React applications.
Make sure you have Node.js and npm installed on your machine.
- Navigate to the project directory:
cd frontend-app
- Install dependencies:
npm install
ornpm install --legacy-peer-deps
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.
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.