This repository contains the frontend implementation for the PinPoint application, built using React.
Before setting up the project, ensure that Node.js is installed on your system. If not, download and install it from the official website.
-
Clone the Repository:
git clone https://github.com/prathameshakole/pinpoint-frontend.git cd pinpoint-frontend -
Install Dependencies:
npm install
-
Setup Environment varialbes:
Setup backend base URL
REACT_APP_API_BASE=https://localhost:4000In the project directory, you can run:
-
Start the Development Server:
npm start
Runs the app in development mode. Open http://localhost:3000 to view it in the browser. The page will reload if you make edits, and you will see any lint errors in the console.
-
Run Tests:
npm testLaunches the test runner in interactive watch mode.
-
Build for Production:
npm run build
Builds the app for production to the
buildfolder. It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified, and the filenames include the hashes. Your app is ready to be deployed!