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)
Clone the repository to your local machine:
git clone https://github.com/your-username/ecommerce-project.git
cd ecommerce-project
Navigate to the backend project directory:
cd be-ecommerce
- Java 21
- Maven
- MySQL
Create a MySQL database for the project and update the application.properties file with your database configuration.
- Build the project using Maven:
mvn clean install
- Run the Spring Boot application:
mvn spring-boot:run
The backend server will start on http://localhost:8080.
Navigate to the frontend project directory:
cd fe-ecommerce
- Node.js (version 16 or higher)
- Angular CLI
Install the project dependencies using npm:
npm install
- To serve the Angular application in development mode:
ng serve
- The application will run on http://localhost:4200.
To create a production build of the application:
ng build --configuration production
Ensure both the backend and frontend servers are running:
- Start the backend server on http://localhost:8080.
- Start the frontend server on http://localhost:4200. Navigate to http://localhost:4200 to access the eCommerce application.
- 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)
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.
- Fork the repository
- Create a new branch (git checkout -b feature/YourFeature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin feature/YourFeature)
- Create a new Pull Request