Welcome to Code Bazaar, an e-commerce platform for all your coding merchandise needs. This repository contains the source code for the Code Bazaar web application.
Visit our website: Code Bazaar
- User Authentication: Login and manage user sessions.
- Checkout: Review cart items and provide delivery details to place an order.
- Payment System: Integrate payment gateway for processing orders.
- Order Management: View order history and order details.
- Product Details: View detailed information about a product, including reviews and availability.
- Shopping Cart: Add, remove, and update quantities of products in the cart.
- Pagination: Navigate through multiple pages of products.
- Product Carousel: Display a carousel of products on the shop pages.
- Responsive Design: Ensure the application is usable on various screen sizes.
- SEO Optimization: Set meta tags for better search engine optimization.
- Static Site Generation: Generate static pages for products.
- API Integration: Fetch product and order data from the backend.
- Toast Notifications: Display notifications for user actions.
- Environment Configuration: Manage environment variables for different environments.
- Linting and Code Quality: Maintain code quality using ESLint.
- Custom Fonts: Use custom fonts for styling.
- Email OTP Verification: Send OTP to email for user verification during signup and password reset.
- Forgot Password: Allow users to reset their password using email OTP verification.
- Change Password: Allow users to change their password from their account settings.
- Address Management: Edit and update user address for orders.
- Profile Management: Edit and update user profile information.
- Order Verification: Verify order payments.
To get a local copy up and running, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/code-bazaar.git- Navigate to the project directory:
cd code-bazaar- Install dependencies:
npm install- Set up environment variables:
Create a
.env.localfile in the root directory and add your environment variables.
MONGO_URI=ENTER_YOUR_SECRET
NEXT_PUBLIC_HOST=ENTER_YOUR_SECRET
AES_SECRET=ENTER_YOUR_SECRET
JWT_SECRET=ENTER_YOUR_SECRET
NEXT_PUBLIC_RAZORPAY_API_KEY=ENTER_YOUR_SECRET
RAZORPAY_API_SECRET=ENTER_YOUR_SECRET
EMAIL=ENTER_YOUR_SECRET
EMAIL_APP_PASSWORD=ENTER_YOUR_SECRETTo start the development server, run:
npm run devOpen http://localhost:3000 to view it in your browser.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.