This is a full-stack web application built using React for the frontend and Spring Boot for the backend, with MySQL as the database.
-
Clone the Repository
-
Database Setup
-
Open MySQL Workbench and create a new database called "ecom"
-
Update application.properties in the Spring Boot project (ecom-backend) with your database credentials:
spring.datasource.url=jdbc:mysql://localhost:3306/ecom spring.datasource.username=your_username spring.datasource.password=your_password
-
Running the Frontend
cd ecom-frontend npm install npm run devThe React app will be available at http://localhost:3000.
-
Running Backend
- Navigate to the backend directory
- Run EcomBackendApplication.java in your IDE. The backend will be available at http://localhost:8080.


