E-commerce webapp project using Java Spring-boot and React.js
- Frontend: React.js
- Backend: Spring Boot
project-root/
│
├── Frontend/ # React.js frontend application
│ ├── public/
│ ├── src/
│ └── ...
│
├── Backend/ # Spring Boot backend application
│ ├── src/
│ ├── pom.xml
│ └── ...
│
└── README.md
Make sure you have the following installed:
- Java 24 (17+)
- (Optional) IDE: IntelliJ IDEA / Eclipse
- Node.js
- npm or yarn
git clone https://github.com/Shamim-Basha/OOAD.git
cd OOADcd Backend
mvn clean install./mvnw spring-boot:run
- The backend will run at:
http://localhost:8080
cd Frontend
npm installOr using yarn:
yarn installnpm startOr:
yarn start- The React app will be available at:
http://localhost:3000
cd Backend
./mvnw spring-boot:testcd Frontend
npm testOr:
yarn testcd Frontend
npm run buildThe optimized production build will be in the Frontend/build/ folder.
cd Backend
./mvnw packageThe compiled .jar file will be in the Backend/target/ directory.
To work on a new feature or fix, follow these steps:
git checkout -b your-branch-nameReplace
your-branch-namewith a descriptive name likefeature/login-pageorbugfix/api-error.
git add .
git commit -m "Your descriptive commit message"git push origin your-branch-nameGo to your Git repository on GitHub/GitLab and create a Pull Request (PR) from your new branch to the main or develop branch.
Have questions or issues? Open an issue on the repository.
This project is licensed under the MIT License.