This repository contains the source code for an ecommerce website. The goal of this project is to provide a user-friendly and efficient platform for customers to browse and purchase clothes online.
Note: Please be aware that this project does not implement Spring Security for authentication and authorization.
The following technologies and dependencies were used in the development of this application:
Backend:
- Spring Boot: A Java framework for building web applications.
- Spring Data JPA: A Spring framework module that provides JPA (Java Persistence API) support.
- Spring Web: A Spring framework module for building web applications.
- MySQL Driver: A JDBC driver for connecting to a MySQL database.
Frontend:
- Angular 15: A JavaScript/TypeScript framework for building web applications.
- Bootstrap: A popular CSS framework for designing responsive web pages.
To set up the backend, follow these steps:
- Ensure you have Java Development Kit (JDK) and Apache Maven installed.
- Import the
backendfolder as a Maven project in your preferred IDE. - Update the MySQL database configuration in
application.propertiesfile located insrc/main/resourcesdirectory. - Run the
EcommerceApplication.javafile to start the backend server.
To set up the frontend, follow these steps:
- Ensure you have Node.js and npm (Node Package Manager) installed.
- Open the
frontendfolder in your preferred code editor. - Run
npm installto install the required dependencies. - Update the API endpoint in the Angular service files to match the backend server address.
- Run
ng serveto start the frontend development server.
After setting up the backend and frontend, you can access the application by visiting http://localhost:4200 in your web browser. From there, you can browse and interact with the website.