This project is a full-stack web application for managing pizza orders. The backend is built with Spring Boot, and the frontend is developed using React.
Before you begin, ensure you have installed the following on your local machine:
Java JDK 17
Maven
Node.js and npm
You can check the installations by running the following commands in your terminal
java -version
mvn -v
node -v
npm -v
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Clone the repository to your local machine:
git clone https://github.com/Lendolan/StrongMind-CodingExercise.git
cd springboot-pizza-manager
Navigate to the root directory of the backend project and run:
./mvnw clean install
or if you are using Windows:
mvnw.cmd clean install
This will compile the Java code, run tests, and package the application.
./mvnw spring-boot:run
or if you are using Windows:
mvnw.cmd spring-boot:run
The backend server should start on http://localhost:8080.
cd front-end
npm install
npm start
The frontend server should start and open http://localhost:3000 in your default web browser.
To run the tests, navigate to the root directory of the backend project and execute:
./mvnw test
or on Windows
mvnw.cmd test
- Spring Boot - The backend framework used
- Maven - Dependency Management for the backend
- React - The frontend library used
- Node.js and npm - Frontend dependency management and scripts