https://github.com/gitcoder052023/wardrobe
This repository contains the source code for "The Wardrobe," an e-commerce web application designed for a seamless online shopping experience. The project is currently under heavy development, and many features are yet to be implemented.
https://github.com/gitcoder052023/wardrobe
Last synced: 7 months ago
JSON representation
This repository contains the source code for "The Wardrobe," an e-commerce web application designed for a seamless online shopping experience. The project is currently under heavy development, and many features are yet to be implemented.
- Host: GitHub
- URL: https://github.com/gitcoder052023/wardrobe
- Owner: GitCoder052023
- Created: 2024-09-10T07:22:00.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-11-18T08:32:54.000Z (7 months ago)
- Last Synced: 2024-11-18T08:41:27.361Z (7 months ago)
- Language: HTML
- Homepage:
- Size: 24.9 MB
- Stars: 3
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
ο»Ώ# ποΈ The Wardrobe







## π About
**The Wardrobe** is an elegant and luxurious e-commerce web application providing a seamless online shopping experience. The project is currently **under heavy development**, and many features are yet to be implemented.
> **Note:** This README is primarily for developers contributing to this project.
## π Current Features
- **Front-End:**
- π¨ **Landing Page:** A modern home page showcasing featured products and collections.
- π **Static Pages:** Includes "About Us" and "Contact Us" sections.
- π **Login & Signup Pages:** Basic forms for user authentication.
- π **Shopping & Product Pages:** General shopping pages for browsing products.
- ποΈ **Cart, Checkout, and Payment Pages:** Includes static interfaces for cart review and payment methods.
- π§βπΌ **Profile & Wishlist Pages:** User profile and wishlist functionalities with dynamic content.
- π **Order & Track Order Pages:** Dynamic order tracking pages with interactive features.
- π **Password Reset Flow:** A secure multi-step process with email and OTP verification.- **Back-End:**
- π **Node.js & Express:** Serving static files and handling routing efficiently.
- ποΈ **MongoDB:** Storing user data and product information.
- π **JWT Authentication:** JSON Web Tokens for secure, stateless user authentication and session management.
- π§ **Nodemailer:** Handles email sending for notifications, password resets, and order confirmations.## π» Tech Stack
- 
- 
- 
- 
- 
- 
- 
- 
- ## π Pre-requisites
Before you begin, ensure you have the following installed:
- **Node.js** (v16.x or above) - [Download Node.js](https://nodejs.org/)
- **MongoDB** (v5.x or above) - [Download MongoDB](https://www.mongodb.com/)
- **Git** - [Download Git](https://git-scm.com/)## π οΈ Project Setup (For Developers)
### Step 1: Clone the Repository
```bash
git clone https://github.com/GitCoder052023/The-Wardrobe.git
```### Step 2: Navigate to the Project Directory
```bash
cd The-Wardrobe
```### Step 3: Install Dependencies
```bash
npm i
```### Step 4: Set Up Environment Variables
Create a `.env` file in the root directory and add the following:
```env
PORT=3000
MONGO_URI=MongoDB-URI
JWT_SECRET=YOUR_JWT_SECRET
SENDER_EMAIL=YOUR_EMAIL_ADDRESS
SENDER_APP_PASSWORD=YOUR_APP_PASSWORD
```### Step 5: Run the Application
```bash
npm run dev
```### Step 6: Access the Application
Open your browser and go to `http://localhost:3000`.## ποΈ System Architecture
```bash
The-Wardrobe
| .gitignore
| .env.example
| CODE_OF_CONDUCT.md
| CONTRIBUTING.md
| SECURITY.md
| package-lock.json
| package.json
| tailwind.config.js
| README.mdβ
β
ββββsrc
β app.js
β
ββββroutes
β auth.js
β cart.js
β Collection.js
β info.js
β main.js
β Orders.js
β Payments.js
β Product.js
β shop.js
β User.js
β
ββββServer
β β server.js
β β
β ββββconfig
β β db.js
β β
β ββββcontrollers
β β authController.js
β β ContactController.js
β β profileController.js
β β ResetPasswordController.js
β β
β ββββmodels
β β User.js
β β
β ββββroutes
β β authRoutes.js
β β ContactRoutes.js
β β index.js
β β profileRoutes.js
β β
β ββββutils
β authUtils.js
β passwordUtils.js
β SendMail.js
β
ββββstatic
β ββββAssets
β β ββββimg
β β β
β β ββββVideos
β ββββCSS
β β β 404.CSS
β β β LandingPage.css
β β β main.css
β β β output.css
β β β
β β ββββShop
β β Shop.css
β β
β ββββJS
β β β LandingPage.js
β β β
β β ββββAuth
β β β login.js
β β β Reset-Password.js
β β β signup.js
β β β Submit-Email.js
β β β SubmitOTP.js
β β β
β β ββββcart
β β β cart.js
β β β checkout.js
β β β
β β ββββContact
β β β Contact.js
β β β
β β ββββOrders
β β β Orders.js
β β β TrackOrders.js
β β β
β β ββββPayment
β β β Payment.js
β β β
β β ββββShop
β β β β Shop.js
β β β β
β β β ββββCollection
β β β β Collection.js
β β β β
β β β ββββProduct
β β β Product.js
β β β
β β ββββUser
β β Profile.js
β β Wishlist.js
β β
β ββββJSON
β β Collection_Products.json
β β Orders_Data.json
β β Tracking_Data.json
β β Wishlist_Products.json
β β
β ββββUtilities
β CategoriesCollection.js
β
ββββtemplates
β LandingPage.html
β
ββββAuth
β login.html
β Reset-Password.html
β signup.html
β Submit-Email.html
β SubmitOTP.html
β
ββββcart
β cart.html
β checkout.html
β
ββββinfo
β About.html
β Contact.html
β
ββββOrders
β Orders.html
β TrackOrders.html
β
ββββPayments
β Payment.html
β
ββββShop
β β Shop.html
β β
β ββββCollections
β β Collection.html
β β
β ββββCategories
β β AccessoriesCollection.html
β β MenCollection.html
β β WearablesCollection.html
β β WomenCollection.html
β β
β ββββProduct
β Product.html
β
ββββUser
β Profile.html
β Wishlist.html
β
ββββUtility
404.html
```