A full-stack e-commerce solution built with Spring Boot, Angular, and MySQL.
- π User authentication and authorization
- π Product catalog with search and filter
- π Shopping cart management
- π¦ Order processing
- π³ Secure payment integration
- π€ User profile management
- π οΈ Admin panel for product and order management
- π Login with Google using Firebase
- πΈ Payment processing with Stripe
- πΌοΈ Image storage and retrieval using Firestore
- Backend: Spring Boot 3.2.6
- Frontend: Angular (latest version)
- Database: MySQL 8.0
- ORM: Spring Data JPA
- Auth: JWT (JSON Web Tokens)
- Build Tool: Maven
- Java Development Kit (JDK) 17+
- Node.js and npm
- MySQL Server
- Maven
- Angular CLI
-
Clone the repo:
git clone https://github.com/Vanhuyne/book-store.git cd ecommerce/ecommerce -
Configure MySQL in
src/main/resources/application.properties:spring.datasource.url=jdbc:mysql://localhost:3306/ecommerce_db spring.datasource.username=your_username spring.datasource.password=your_password
-
Build the project:
mvn clean install
-
Navigate to the frontend directory:
cd ecommerce/ecommerce-angular -
Install dependencies:
npm install
-
Start the backend:
cd ecommerce mvn spring-boot:runThe server will start on
http://localhost:8080. -
Start the frontend:
cd ecommerce-angular ng serveThe application will be available at
http://localhost:4200.
We welcome contributions! Please follow these steps:
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License.
π§ For inquiries, please contact Van Huy.
βοΈ If you find this project useful, please consider giving it a star on GitHub!