Valiant — Clothing store platform
A full-stack application built with a production mindset, focusing on scalability, performance, and real-world workflows such as authentication, payments, caching, and admin operations.
This project is not a toy CRUD app — it simulates how a real online store works end-to-end.
🚀 Why Valiant?
Most student projects stop at “add to cart.” Valiant goes further by implementing:
Secure authentication & authorization
Admin-level controls
Payment gateway integration
Performance optimization using Redis
Clean backend architecture suitable for scaling
🧩 Core Features 👤 User Side
User authentication using JWT
Product browsing with text-based search
Add to cart, wishlist, and order tracking
Secure checkout using Stripe & Razorpay
Order history and status updates
🛠 Admin Side
Admin authentication & protected routes
Manage products, users, and orders
Update order statuses
Centralized admin dashboard
⚙️ Tech Stack
Frontend
React
Tailwind CSS
Axios
Backend
Node.js
Express.js
MongoDB (Mongoose)
Redis (caching)
JWT Authentication
Payments
Stripe
Razorpay
Deployment / DevOps
Docker (in progress)
Environment-based configuration
🏗 Architecture Overview
Client (React) communicates with backend APIs
Backend (Node + Express) handles business logic
MongoDB stores persistent data (users, products, orders)
Redis caches frequently accessed data to reduce DB load
Payment gateways handle secure transactions
🧠 Performance Optimization
Redis caching implemented for frequently accessed endpoints
Reduced database calls for admin order listings
Optimized API responses using lean queries
🔐 Security Measures
JWT-based authentication
Role-based access control (User / Admin)
Secure password hashing
Environment variables for sensitive credentials
Input validation to prevent common attacks
🧪 Project Status
✅ Core features implemented
✅ Payments integrated
✅ Redis caching added
⏳ Dockerization (in progress)
⏳ Automated tests (planned)
🛠 Local Setup 1️⃣ Clone the Repository git clone https://github.com/Harshyadav0987/Valiant-E-Commerce.git cd Valiant-E-Commerce
2️⃣ Setup Environment Variables
Create .env files for backend and frontend using .env.example.
3️⃣ Install Dependencies
cd backend npm install
cd frontend npm install
4️⃣ Run the Application
npm run server
npm run dev
🌐 Live Demo
🔗 Live URL: https://valiant-0t1s.onrender.com/
📸 Screenshots:

Admin Panel
"https://github.com/user-attachments/assets/c19ddfe3-b56a-44ce-a1e3-e48b07d1b016" />