ECOM-BUSY is a full-stack e-commerce application. It consists of two main components:
- Backend: Developed using Spring Boot with an H2 in-memory database for persistence.
- Frontend: Built using React and styled with Bootstrap.
ECOM-READY/
|-- ecom-frontend/ # Frontend React application
|-- ecom-backend/ # Backend Spring Boot application
- Spring Boot: Backend framework.
- H2 Database: In-memory database for persistence.
- Hibernate: ORM framework for database interaction.
- Lombok: Reduces boilerplate code.
- Java 17
- Maven
-
Navigate to the
ecom-backend
folder:cd ecom-backend
-
Build and run the application:
mvn spring-boot:run
-
The backend server will start on
http://localhost:8080/
. -
The H2 console can be accessed at:
http://localhost:8080/h2-console
- JDBC URL:
jdbc:h2:mem:testdb
- Username:
sa
- Password: (leave blank)
- JDBC URL:
- The application uses H2 as the default database.
- Hibernate is configured for automatic schema generation.
- React: Frontend library for building the user interface.
- Bootstrap: For styling and responsive design.
- Vite: Tool for fast development and building.
- Axios: For handling HTTP requests.
- React Router DOM: For routing.
- Node.js (v18 or higher)
- npm or yarn package manager
-
Navigate to the
ecom-frontend
folder:cd ecom-frontend
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Build the application for production:
npm run build
-
Preview the production build:
npm run preview
- Development:
npm run dev
- Build:
npm run build
- Preview:
npm run preview
- Run Application:
mvn spring-boot:run
This project is licensed under the MIT License.