Welcome to the Clothing Store of the Atlética Fatec Ipiranga! This project is a web application built with Spring Boot for the backend and Angular for the frontend. The store offers essential functionalities to manage customers, products, shopping carts, and orders.
- Customer Registration: Users can register as customers, providing information such as name, address, and contact details.
- Product Management: Administrators can add, edit, and delete products from the store. Each product has information such as name, description, price, and stock quantity.
- Shopping Cart: Customers can add products to the shopping cart while browsing the store.
- Order Placement: Customers can review the items in their cart and place orders, providing delivery details.
The project is organized into various directories, each responsible for a specific functionality. Additionally, there are main files that play crucial roles in the application.
- customer: Contains files related to the customer functionality.
- product: Manages the products available in the store.
- cart: Responsible for the logic of the shopping cart.
- order: Involves the placement and processing of orders.
- AppController.java: Main controller of the Spring Boot application.
- CustomerComponent.ts: Angular component for customer management.
- ProductService.java: Spring Boot service for product management.
- CartComponent.ts: Angular component for the shopping cart.
- OrderController.java: Spring Boot controller for order placement.
Follow these instructions to run the application on your local environment:
-
Backend (Spring Boot):
- Navigate to the
backend
directory. - Run the command
./mvnw spring-boot:run
to start the server.
- Navigate to the
-
Frontend (Angular):
- Navigate to the
frontend
directory. - Run the command
ng serve
to start the development server.
- Navigate to the
-
Open your browser and access
http://localhost:4200/
to view the application.
Your contribution is valuable to improve this clothing store! If you have ideas, corrections, or new features, feel free to open an issue or submit a pull request.
Thank you for contributing to the Atlética Fatec Ipiranga clothing store! 🎉