Skip to content

Latest commit

Β 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›οΈ Atelier - Online Shopping Cart System

πŸ’» A full-stack web application demonstrating Object-Oriented Programming principles using Java

Atelier Logo

🧰 Stack

Spring Boot 3.5.9 Java 21 LTS React v18+ Vite v6+ Tailwind CSS 3+ shadcn/ui Axios Vercel PostgreSQL 15 Neon DBeaver Trello Render Postman Docker Maven bcrypt

✨ Key Features

  • πŸ—‚οΈ Product Catalog Management (CRUD)
  • πŸ›’ Shopping Cart & Checkout
  • πŸ“Š Sales Reporting System

πŸ—‚οΈ Project Structure

atelier/
β”œβ”€β”€ backend/                          # Spring Boot REST API
β”‚   β”œβ”€β”€ src/main/java/com/shoppingcart/atelier/
β”‚   β”‚   β”œβ”€β”€ models/                   # Domain entities 
β”‚   β”‚   β”œβ”€β”€ repositories/             # Spring Data JPA repositories
β”‚   β”‚   β”œβ”€β”€ services/                 # Business logic
β”‚   β”‚   β”œβ”€β”€ controllers/              # REST endpoints
β”‚   β”‚   β”œβ”€β”€ dto/                      # Data Transfer Objects
β”‚   β”‚   β”œβ”€β”€ config/                   # Configuration
β”‚   β”‚   └── utils/                    # Utilities
β”‚   β”œβ”€β”€ src/main/resources/
β”‚   β”‚   β”œβ”€β”€ application.properties.example  # Template
β”‚   β”‚   └── application.properties          
β”‚   └── pom.xml
β”œβ”€β”€ frontend/                         
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ components/               # React components
β”‚   β”‚   β”œβ”€β”€ pages/                    # Route pages
β”‚   β”‚   β”œβ”€β”€ lib/                      # Utilities
β”‚   β”‚   └── hooks/                    # Custom hooks
β”‚   └── package.json
β”œβ”€β”€ database/                         # SQL scripts
β”œβ”€β”€ docs/                             # Documentation
β”‚   β”œβ”€β”€ uml/                          # UML diagrams
β”‚   β”œβ”€β”€ api/                          # API documentation
β”‚   └── report/                      # Final report
β”œβ”€β”€ docker-compose.yml                # PostgreSQL container
β”œβ”€β”€ .gitignore
└── README.md

πŸš€ Setup Guide

🧩 Prerequisites

  • Java JDK 21
  • Node.js 24+
  • PostgreSQL JDBC Driver
  • Git
  • IntelliJ IDEA Community & VS Code
  • Postman

πŸ“₯ 1. Clone Repository

git clone https://github.com/NSBM-SE-Projects/atelier.git
cd atelier

βš™οΈ 2. Backend Setup

cd backend

# Request the application.propeties from @dwainXDL
# Then paste in backend/src/main/resources

# Run the application in IntelliJ

πŸ”— Backend URL - http://localhost:8080

πŸ“˜ Full API documentation: ./docs/api


🎨 3. Frontend Setup

cd frontend

# Install node dependencies
npm i

# Run development server
npm run dev

πŸ”— Frontend URL - http://localhost:5173


πŸ§ͺ Testing

πŸ” Backend API Testing (Postman)

  1. Import collection from docs/api/atelier_api_collection.json
  2. Verify responses and status codes

πŸ‘₯ The Team

πŸ“« Contact

Further questions? Contact @dwainXDL : D

About

πŸ›οΈ Web Based - Online Shopping Cart System

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages