Skip to content

πŸ›’ A final learning project. Website selling books uses Angular, Spring Boot and MySQL.

Notifications You must be signed in to change notification settings

Vanhuyne/book-store-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

64 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›’ E-commerce Project

Spring Boot Angular MySQL

A full-stack e-commerce solution built with Spring Boot, Angular, and MySQL.

πŸ“‹ Table of Contents

✨ Features

  • πŸ” 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

πŸ› οΈ Tech Stack

  • 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

πŸ“¦ Installation

Prerequisites

  • Java Development Kit (JDK) 17+
  • Node.js and npm
  • MySQL Server
  • Maven
  • Angular CLI

Backend Setup

  1. Clone the repo:

    git clone https://github.com/Vanhuyne/book-store.git
    cd ecommerce/ecommerce
  2. 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
  3. Build the project:

    mvn clean install

Frontend Setup

  1. Navigate to the frontend directory:

    cd ecommerce/ecommerce-angular
  2. Install dependencies:

    npm install

πŸš€ Quick Start

  1. Start the backend:

    cd ecommerce
    mvn spring-boot:run

    The server will start on http://localhost:8080.

  2. Start the frontend:

    cd ecommerce-angular
    ng serve

    The application will be available at http://localhost:4200.

🀝 Contributing

We welcome contributions! Please follow these steps:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“„ License

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!

About

πŸ›’ A final learning project. Website selling books uses Angular, Spring Boot and MySQL.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published