- Live Link: Live Website
Objective: WheelDeal is a comprehensive e-commerce website for cars using React, Redux, Mongoose, Node and Express. This platform will offer features like product listings, detailed product pages, and a role wise dashboard.
- Frontend: React, Redux for state management, Typescript
- Backend: Node.js, Express, Mongoose, CORS, and Zod for schema validation and data integrity.
- Database: MongoDB for storing product and user data.
- Image: Cloudinary
- Header with logo and site name
- Navigation links
- Hero section
- Categories section with clickable images/icons
- Featured products
- Testimonial
- Footer with contact and social media links
- Product listings with images, names, prices, and details button
- Search bar
- Filters for multiple categories
- Sorting options
- Clear filter button
- Product information (name, price, stock, description, images, category)
- Buy Now button
- User details collection (name, email, phone number, address, city)
- Payment methods: Shurjopay
- Company overview,
- team introduction,
- customer testimonials
- Contact information with basic animations and gradients
- User management
- Order Management
- Product Mananegment
- Profile Update
- Track My Order
- Overview
Ensure you have the following installed on your local machine:
- Node.js (version 14 or higher)
- npm (version 6 or higher) or yarn
- MongoDB (running locally or a connection URI to a remote instance)
- Clone the repository:
<!-- Frontend clone -->
git clone (https://github.com/RittikaDev/WheelDeal-Frontend) <!-- Backend clone -->
git clone (https://github.com/RittikaDev/WheelDeal-Backend)Create a .env.local file in the root directory of the project and add the following enviroment variables:
In Backend
NODE_ENV=
PORT=
DATABASE_URL=
BCRYPT_SALT_ROUNDS=
DEFAULT_PASS=
JWT_ACCESS_SECRET=
JWT_ACCESS_EXPIRES_IN=
JWT_REFRESH_SECRET=
JWT_REFRESH_EXPIRES_IN=
SP_ENDPOINT=
SP_USERNAME=
SP_PASSWORD=
SP_PREFIX=
SP_RETURN_URL=- Install dependencies:
npm i
- To compile and run the TypeScript application in development mode with hot-reloading, use:
npm run dev- To build the application for production
npm run buildVisit : http://localhost:5173/