Requirements:
- Node.js and npm (Node Package Manager) should be installed on your machine. You can download them from the official Node.js website: https://nodejs.org.
Clone the project
- Open a terminal or command prompt.
- Clone the project repository by running the following command in a target folder:
git clone git@github.com:ASGili/ProjectAirlift.git
Install dependencies from your terminal
- Navigate to the project's root directory in the terminal.
- Install the required dependencies for the frontend:
cd ../frontend
npm install
Start the backend and frontend
- Navigate to the backend directory:
cd ../backend
- Compile backend:
Load into a chosen IDE and compile the backend. The AirliftApplication.java file is the runner for the backend.
- Navigate to the frontend directory:
cd ../frontend
- Run the following command to start React frontend:
npm start
Accessing the app
- Open a web browser and go to
http://localhost:3000. - You should see the React app running, connected to the Spring backend.