Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xzippyzachx/e-commerceauctionsystem
This E-Commerce Auction system allows users to bid on forward and dutch auctions
https://github.com/xzippyzachx/e-commerceauctionsystem
distributed-systems ecommerce java postgresql spring-boot
Last synced: 2 months ago
JSON representation
This E-Commerce Auction system allows users to bid on forward and dutch auctions
- Host: GitHub
- URL: https://github.com/xzippyzachx/e-commerceauctionsystem
- Owner: xzippyzachx
- License: mit
- Created: 2023-02-21T01:02:28.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-30T17:56:39.000Z (10 months ago)
- Last Synced: 2024-03-30T18:36:35.721Z (10 months ago)
- Topics: distributed-systems, ecommerce, java, postgresql, spring-boot
- Language: Java
- Homepage:
- Size: 5.58 MB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## System Design
![image](https://github.com/xzippyzachx/E-CommerceAuctionSystem/assets/33043402/780a36dd-845f-4aa4-8bd6-0063f6c784d8)## Database Design
![image](https://github.com/xzippyzachx/E-CommerceAuctionSystem/assets/33043402/1b2df9aa-4f2e-4af3-afa6-2f4c100fbf1f)## Follow these instructions to setup and run the E-Commerce Auction System
### Using Docker Compose
* Step 1 - Ensure Docker Desktop is installed on your machine and running
* Step 2 - Unzip the `E-CommerceAuctionSystem.zip`
* Step 3 - Run the following command in the project root (Location of `docker-compose.yml`)```bash
docker-compose up
```### Manual PostgresSQL Database Setup
* Step 1 - Ensure Docker Desktop is installed on your machine and running
* Step 2 - Run these commands to pull the postgresql database docker images:```bash
# users
docker pull xzippyzachx/postgres_users
# items
docker pull xzippyzachx/postgres_items
# auctions
docker pull xzippyzachx/postgres_auctions
# payments
docker pull xzippyzachx/postgres_payments
```* Step 3 - Run these commands to create and run docker containers of the images:
```bash
# users
docker run --name postgres_users -d -p 5432:5432 xzippyzachx/postgres_users
# items
docker run --name postgres_items -d -p 5433:5432 xzippyzachx/postgres_items
# auctions
docker run --name postgres_auctions -d -p 5434:5432 xzippyzachx/postgres_auctions
# payments
docker run --name postgres_payments -d -p 5435:5432 xzippyzachx/postgres_payments
```### Manually Running The Servers via an IDE
* Step 1 - Import the `E-CommerceAuctionSystem.zip` into your IDE (Intellij, Eclipse)
* Step 2 - Run each server as a maven spring project (There are 5 servers)### Entry URL:
http://localhost:8080/login### Github Link:
[Github](https://github.com/xzippyzachx/E-CommerceAuctionSystem)