Prerequisites
-
Backend:
- Java Development Kit (JDK) 17 or higher
- Apache Maven 3.6.3 or higher
-
Frontend:
- Node.js 16.0.0 or higher
- npm 7.0.0 or higher
Installation and Setup
-
Clone the Repository
git clone https://github.com/ramonGomezEnc/BreakableToyI.git cd BreakableToyI -
Backend Setup
-
Navigate to the backend directory:
cd backend -
Build the backend application using Maven:
mvn clean install
-
Run the backend application:
mvn spring-boot:run
The backend server should now be running, typically accessible at
http://localhost:9090. -
-
Frontend Setup
-
Open a new terminal and navigate to the frontend directory:
cd frontend -
Install the frontend dependencies:
npm install
-
Start the frontend application:
npm start
The frontend development server should now be running, typically accessible at
http://localhost:8080. -