Shoppers Store is a full-featured e-commerce web application focused on selling T-shirts. The platform supports essential e-commerce functionalities such as user authentication, product management, cart and order management, and payment processing. Whether you are a user looking to purchase T-shirts or an admin managing the store, Shoppers Store provides a seamless experience.
- User Authentication: Secure sign-up and login system, allowing users to browse products and manage their cart.
- Admin Dashboard: Full-featured admin panel to create, update, and delete products and categories.
- Cart & Checkout: Users can add products to their cart, proceed to checkout, and place orders with integrated payment processing.
- Payment Gateway: Integrated with Braintree for secure and smooth payment transactions.
- Responsive Design: Fully responsive UI, providing a great experience across all devices.
- Frontend: React.js, Chakra UI
- Backend: Node.js, Express.js
- Database: MongoDB
- Payment Integration: Braintree
- Deployment: Vercel
- Homepage: The homepage displays the latest products and categories.
- Product Page: Detailed product descriptions with an option to add items to the cart.
- Cart & Checkout: Users can view their cart, proceed to checkout, and complete purchases.
Follow the steps below to get a local copy of the project up and running:
- Clone the repository:
git clone https://github.com/yourusername/Shoppers Store.git
- Navigate to the project directory:
cd Shoppers Store
- Install frontend and backend dependencies:
cd frontend npm install cd ../backend npm install
- Setup environment variables:
- Create a
.env
file in thebackend
directory and add the necessary environment variables:MONGODB_URI=your_mongodb_uri BRAINTREE_MERCHANT_ID=your_braintree_merchant_id BRAINTREE_PUBLIC_KEY=your_braintree_public_key BRAINTREE_PRIVATE_KEY=your_braintree_private_key
- Create a
- Run the application:
npm start
- This will start both the frontend and backend servers.
To run tests, use the following command:
npm run test
The project is deployed on Vercel for quick access. To deploy your own instance:
- Fork the repository.
- Deploy to Vercel: Follow the Vercel documentation to deploy the app.
Contributions are welcome! Follow the steps below to contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature/YourFeature
- Commit your changes:
git commit -m 'Add YourFeature'
- Push to the branch:
git push origin feature/YourFeature
- Create a Pull Request.
This project is licensed under the ISC License - see the LICENSE file for details.
If you found this project helpful, please consider giving it a ⭐️ on GitHub!