8000 GitHub - Lucode710/angular-spring-ecommerce: A small-scale e-commerce platform developed using Angular 17 for the frontend and Spring Boot with MySQL for the backend. The project leverages Lombok for reducing boilerplate code and improving development efficiency.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A small-scale e-commerce platform developed using Angular 17 for the frontend and Spring Boot with MySQL for the backend. The project leverages Lombok for reducing boilerplate code and improving development efficiency.

Notifications You must be signed in to change notification settings

Lucode710/angular-spring-ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

eCommerce Project

This is an eCommerce project with a frontend built in Angular 17 and a backend built in Spring 3.3.0. The project is structured into two main parts:

  • fe-ecommerce (Frontend: Angular 17)
  • be-ecommerce (Backend: Spring 3.3.0)

Table of Contents

Installation

Clone the repository to your local machine:

git clone https://github.com/your-username/ecommerce-project.git
cd ecommerce-project

Backend Setup

Navigate to the backend project directory:

cd be-ecommerce

Prerequisites

  • Java 21
  • Maven
  • MySQL

Configure MySQL Database

Create a MySQL database for the project and update the application.properties file with your database configuration.

Build and Run the Backend

  1. Build the project using Maven:
mvn clean install
  1. Run the Spring Boot application:
mvn spring-boot:run

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

Frontend Setup

Navigate to the frontend project directory:

cd fe-ecommerce

Prerequisites

  • Node.js (version 16 or higher)
  • Angular CLI

Install Dependencies

Install the project dependencies using npm:

npm install

Build and Run the Frontend

  1. To serve the Angular application in development mode:
ng serve
  1. The application will run on http://localhost:4200.

Production Build

To create a production build of the application:

ng build --configuration production

Running the Application

Ensure both the backend and frontend servers are running:

  1. Start the backend server on http://localhost:8080.
  2. Start the frontend server on http://localhost:4200. Navigate to http://localhost:4200 to access the eCommerce application.

Technologies Used

  • Frontend: Angular 17, Bootstrap, SCSS
  • Backend: Spring Boot 3.3.0, Spring Data JPA, Spring Data REST, MySQL
  • Build Tools: Maven (Backend), Angular CLI (Frontend)

Contributing

Contributions are welcome! Please fork the repository and create a pull request with your changes. Ensure that your code follows the project's coding standards and passes all tests.

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

About

A small-scale e-commerce platform developed using Angular 17 for the frontend and Spring Boot with MySQL for the backend. The project leverages Lombok for reducing boilerplate code and improving development efficiency.

Topics

Resources

Stars

Watchers

Forks

0