This is a simple shop application with a backend built using Spring Boot and a frontend built using Angular.
- User authentication and authorization
- Product listing and details
- Shopping cart functionality
- Order placement and management
-
Backend:
- Java
- Spring Boot
- Spring Security
- Spring Data JPA
-
Frontend:
- TypeScript
- Angular
- Angular CLI
- Angular Material
-
Database:
Make sure you have the following installed:
- Java Development Kit (JDK)
- Node.js
- Angular CLI
- MySQL Server
-
Clone the repository:
-
Backend Setup:
- Navigate to the
backend
directory. - Configure your MySQL database connection in
application.properties
. - Run the Spring Boot application:
./mvnw spring-boot:run
- Frontend Setup:
- Navigate to the
frontend
directory. - Install dependencies:
npm install
- Start the Angular development server:
ng serve
- Access the Application:
- Open your browser and navigate to
http://localhost:4200
.
backend/
: Contains the Spring Boot backend code.frontend/
: Contains the Angular frontend code.