A web application for browsing and purchasing sneakers with complete order tracking functionality. Built collaboratively using Git and GitHub.
- Order Tracking: Follow your order status in real-time (Processing → Shipped → Delivered).
- User Accounts: Secure login/registration using JWT.
- Order History: View all your past and current orders.
- Responsive UI: Works well on both mobile and desktop.
📚 Full Details: See ORDER_TRACKING_IMPLEMENTATION.md
This is the fastest way to get the Order Tracking feature running.
-
Install dependencies:
npm install
-
Seed the database with sample data:
npm run seed
-
Start the backend server:
npm start
-
Open the front-end:
- Open
src/order-tracking.HTMLin your browser or use the Live Server extension.
- Open
Test Login Credentials:
- Email:
john.doe@example.com- Password:
password123
| Category | Technologies Used |
|---|---|
| Frontend | HTML5, Tailwind CSS, Vanilla JavaScript, Fetch API |
| Backend | Node.js, Express.js |
| Database | SQLite (sneakerhub.db), JWT for Authentication |
All team members must follow this process for contributing.
-
Clone the project:
git clone [https://github.com/ayaanb132/SneakerHub.git](https://github.com/ayaanb132/SneakerHub.git) cd SneakerHub -
Create and switch to your branch:
git checkout -b yourname-feature
-
Sync with
mainbefore starting work:git checkout main git pull origin main git checkout yourname-feature git merge main
-
After your work is done:
git add . git commit -m "Briefly describe your changes" git push origin yourname-feature
-
Create a Pull Request (PR) on GitHub for review and merging.
- API Testing Guide: API_TESTING_EXAMPLES.md
- Full Order Tracking Documentation: ORDER_TRACKING_IMPLEMENTATION.md
- Server issues? Make sure you ran
npm start. - No orders? Run
npm run seedto load test data. - Dependencies missing? Run
npm install.
Repository: SneakerHub