This is a full-stack database-driven e-commerce project for Level 2, Term 2. It includes complete modules for buyers, sellers, employees (including courier, customer care, and admin), and uses:
- 🔥 Vite + React for the frontend
- ⚙️ Node.js + Express for the backend
- 🛢️ Oracle Database for storage
E:\FAKESHOP
│
├── backend/ # Express backend (Oracle DB connection)
├── frontend/ # Vite + React frontend
└── SQL_CODES/
└── ALL_SQL_CODES/
└── dumpSQL.sql # Contains full DB schema and sample data
Follow these steps to run the full system after cloning:
git clone https://github.com/LegendaryDarkKnight/DB_PROJECT_FAKESHOP.git
cd FAKESHOP- Ensure Oracle DB is running.
- Connect using SQL*Plus or any Oracle tool:
sqlplus FAKESHOP/1234@localhost/orcl- Run the SQL dump to initialize schema & data:
@E:\FAKESHOP\SQL_CODES\ALL_SQL_CODES\dumpSQL.sqlcd backend
npm installCreate a .env file in the backend folder with the following content:
DB_USER=FAKESHOP
DB_PASSWORD=1234
DB_CONNECTSTRING=localhost/orcl
PORT=3000
APP_SECRET=BUETCSEISBEST
npm testcd ../frontend
npm install
npm run devThis will start the React app on http://localhost:5173 (or another port if in use).
- 👥 User roles: Buyer, Seller, Admin, Courier, Customer Care
- 🧾 Order processing and shipment tracking
- 💬 Customer support management
- 📊 Admin control dashboard
- 🔒 Secure API with token-based authentication
- Backend and frontend must be run in separate terminals.
- Oracle must be running locally with the given credentials.
- The SQL dump provides all necessary tables and sample records for quick testing.
Developed as part of Level 2, Term 2 Database Systems course.