- Project Overview
- Features
- Tech Stack
- Installation
- Usage
- Contributing
- Pull Request Guidelines
- Code of Conduct
ElectroKart is an online e-commerce application designed to offer a seamless shopping experience. Built with React for the frontend and Node.js for the backend, ElectroKart enables users to browse and purchase products with ease.
- Product Browsing: View and filter products by category, price, and popularity.
- User Authentication: Secure login and signup functionality with JWT authentication.
- Shopping Cart: Add items to a cart, view cart summary, and proceed to checkout.
- Payment Gateway: Integrated payment options using Stripe (or any preferred payment gateway).
- Order Tracking: Keep track of placed orders with status updates.
- Responsive Design: Optimized for both mobile and desktop experiences.
Follow these steps to set up ElectroKart locally:
- Node.js (version >= 14.x)
- npm (version >= 6.x)
You can check if Node.js and npm are installed by running:
node -v
npm -v
git clone https://github.com/<your-github-username>/ElectroKart.git
cd ElectroKart
- For Frontend:
cd frontend
npm install
npm start
- For Backend:
cd backend
npm install
node index.js
MONGO_URL = ""
# Paste your MongoDB URL here for local testing
npm start
Once you have set up the project, you can:
- Run the development server: The app will run at http://localhost:3000/ for the frontend.
- Explore app features: Browse products, add items to the cart, and proceed to checkout.
- Test with sample data: Use provided sample data or mock APIs for testing the functionality.
We welcome contributions from everyone! If you would like to contribute to ElectroKart, please follow these steps:
- Fork the repository: Click the 'Fork' button at the top right of the page to create a copy of this repository in your account.
- Clone your fork: Use the command below to clone your forked repository to your local machine.
git clone https://github.com/<your-github-username>/ElectroKart.git
For more detailed guidelines, please refer to our full Contributing.md.
- Please fill out the PR template properly when creating a pull request.
- Assign yourself to the issue you’re working on to help us track progress.
- Never commit to the main branch.
- Your work must be original and adhere to the project's coding standards.
- Comment your code where necessary for clarity.
- Always ensure all tests pass before pushing your changes by running:
npm run test
We strive to create a welcoming and inclusive environment for all contributors and users. By participating in this project, you agree to abide by our Code of Conduct.
- Respect: Treat everyone with respect, regardless of their background or opinions.
- Inclusivity: Encourage and support diverse perspectives and contributions.
- Collaboration: Be open to constructive feedback and collaboration.
- Professionalism: Maintain professionalism in all interactions, online and offline.
If you experience or witness any behavior that violates this Code of Conduct, please report it by contacting the project maintainers.
For more detailed guidelines, please refer to our full Code of Conduct.