https://github.com/rubenchirino/clothes-store
Clothes store E-commerce developed with Spring
https://github.com/rubenchirino/clothes-store
ecommerce java spring
Last synced: about 2 months ago
JSON representation
Clothes store E-commerce developed with Spring
- Host: GitHub
- URL: https://github.com/rubenchirino/clothes-store
- Owner: RubenChirino
- Created: 2023-10-18T23:02:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-23T21:57:26.000Z (over 2 years ago)
- Last Synced: 2025-03-25T19:29:07.915Z (over 1 year ago)
- Topics: ecommerce, java, spring
- Language: Java
- Homepage:
- Size: 102 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# clothes-store
Clothes store E-commerce developed with Spring
## Dev setup Commands
```bash
# Install dependencies (only the first time)
mvn clean install
# Run the local server at localhost:8080
mvn spring-boot:run
```
### Home

## ๐ == Garments == ๐
### List

### Create

### Edit

### Endpoints
| Method | URL | Description |
| -------- | ---------------------------------------- | ---------------------------------------- |
| `GET` | `/api/garments/all` | Retrieves a list of all the garments |
| `GET` | `/api/garments` | Retrieves a paginated list of garments |
| `GET` | `/api/garments/:id` | Retrieves a garment by its ID |
| `POST` | `/api/garments` | Creates a new garment |
| `PUT` | `/api/garments/:id` | Updates an existing garment |
| `DELETE` | `/api/garments/:id` | Deletes a specific garment by its ID |
### ๐จโ๐ฉโ๐งโ๐ฆ == Clients == ๐๐ปโโ๏ธ๐จ๐ปโ๐ผ
### List

### Create

### Edit

### Endpoints
| Method | URL | Description |
| -------- | --------------------- | -------------------------------------------- |
| `GET` | `/api/clients/all` | Retrieves a list of all clients |
| `GET` | `/api/clients/:id` | Retrieves a client by their ID |
| `GET` | `/api/clients` | Retrieves a paginated list of clients |
| `POST` | `/api/clients` | Creates a new client |
| `PUT` | `/api/clients/:id` | Updates an existing client |
| `DELETE` | `/api/clients/:id` | Deletes a specific client by their ID |
### ๐ถ == Sales == ๐ท๏ธ
### List

### Create Cash Sale

### Create Card Sale

### Show Sale

### Add Item to a Sale

### Endpoints
| Method | URL | Description |
| -------- | ---------------------------------------- | ------------------------------------------------ |
| `GET` | `/api/sales/all` | Retrieves a list of all sales |
| `GET` | `/api/sales` | Retrieves a paginated list of sales |
| `GET` | `/api/sales/:id` | Retrieves details of a specific sale by its ID |
| `POST` | `/api/sales/cash` | Creates a new cash sale |
| `POST` | `/api/sales/card` | Creates a new card sale |
| `POST` | `/api/sales/:id/items` | Adds a new item to a specific sale |
| `PUT` | `/api/sales/:sale_id/items/:item_id` | Modifies an existing item in a sale |
| `DELETE` | `/api/sales/:sale_id/items/:item_id` | Deletes a specific item from a sale |
| `POST` | `/api/sales/cash` (with business) | Creates a new cash sale with business details |
| `POST` | `/api/sales/card` (with business) | Creates a new card sale with business details |