Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/syedabdullahrahman/e-commerce
Simple E-commerce REST API
https://github.com/syedabdullahrahman/e-commerce
auditing e-commerce e-commerce-project ecommerce ecommerce-database liquibase logging mysql openapi openapi-specification slf4j spring-boot spring-data spring-data-jpa spring-data-rest swagger-ui
Last synced: 3 days ago
JSON representation
Simple E-commerce REST API
- Host: GitHub
- URL: https://github.com/syedabdullahrahman/e-commerce
- Owner: syedabdullahrahman
- License: mit
- Created: 2024-06-26T17:37:00.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-07-05T12:49:26.000Z (3 months ago)
- Last Synced: 2024-09-26T10:40:37.349Z (7 days ago)
- Topics: auditing, e-commerce, e-commerce-project, ecommerce, ecommerce-database, liquibase, logging, mysql, openapi, openapi-specification, slf4j, spring-boot, spring-data, spring-data-jpa, spring-data-rest, swagger-ui
- Language: Java
- Homepage:
- Size: 223 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple E-commerce REST API
## Table of Contents
- [Technologies Used](#technologies-used)
- [Features](#features)
- [Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Database Schema](#database-schema)## Technologies
- Java 17
- Spring Boot
- Spring Data JPA
- Hibernate
- MySQL
- Maven
- Liquibase
- OpenAPI
- Docker
- Spring Data REST etc.## Features
- API to return the wish list of a customer.
- API to return the total sale amount of the current day.
- API to return the max sale day of a certain time range.
- API to return top N selling items of all time (based on total sale amount).
- API to return top N selling items of the last month (based on number of sales).## Getting Started
### Prerequisites
List any prerequisites or requirements to follow your instructions (e.g., Java 17+, MySQL server).
### Installation
Step-by-step instructions on how to install and configure your project.
1. Clone the repository.
```bash
git clone https://github.com/syedabdullahrahman/e-commerce.git
```
2. Navigate to the project directory.3. Build the project using Maven.
```bash
mvn clean install
```
4. Run the application
```bash
java -jar target/demo-0.0.1-SNAPSHOT.jar
```### Database Schema
The database schema is from [MySQL Sample Database](https://www.mysqltutorial.org/getting-started-with-mysql/mysql-sample-database/)Here is the schema diagram:
![schema](mysql-sample-database.png)