A complete system (front-end and back-end) developed to manage orders for sweets and savory items in a confectionery shop. The system allows creating, listing, updating, and deleting orders, as well as managing customers and order statuses.
- Back-end: Java with Spring Boot to build a RESTful API.
- Database: PostgreSQL to store data for customers, orders, and products.
- Front-end: ReactJS with TypeScript for user interface.
- Authentication: JWT (JSON Web Tokens) for user authentication and authorization.
The main routes implemented for the order CRUD are:
GET /orders: Returns the list of all registered orders.POST /orders: Registers a new order, including customer and products.GET /orders/{id}: Returns the details of a specific order.PUT /orders/{id}: Updates the details of an existing order.DELETE /orders/{id}: Deletes an order from the system.
The front-end, developed in ReactJS, consumes these routes using Axios to make HTTP requests.
