Welcome to the Craftopia Project! This Node.js-based website is designed for selling beautiful handicraft products. Whether you're a developer, designer, or end-user, this README will guide you through setting up and understanding this project.
The Handicrafts E-Commerce Project is an online platform for customers to buy handicraft goods. Admin can list their products, and customers can browse, purchase, and review these items. The project aims to promote and support the craftsmanship of artisans while providing customers with unique and authentic products.
To run this project locally, follow these steps:
-
Clone the repository:
bash
-
git clone https://github.com/yourusername/Craftopia.git
- Navigate to the project directory:
bash
-
cd Craftopia
-
Install project dependencies using npm:
bash
-
npm install
-
Create a
.env
file in the project root directory and set the necessary environment variables. You may need to configure database connections, API keys, and other sensitive information. -
Start the server:
bash
-
npm start
-
Access the website in your browser at
http://localhost:4000
.
Once you have the project running, you can use it as follows:
-
As an admin, you can:
- Create an account and list your products for sale.
- Manage your product listings, including updating prices, descriptions, and availability.
- View orders placed by customers.
-
As a customer, you can:
- Browse and search for handicraft products by category or keyword.
- Add products to your cart and proceed to checkout.
- Review and rate products you've purchased.
- View your order history.
- User authentication and authorization.
- Product catalog with search and filtering options.
- Shopping cart functionality.
- Secure payment processing (integrations like Paytem, PayPal, etc.).
- Order history and tracking.
- Product reviews and ratings.
- Product management.
The project is built using the following technologies:
- Node.js: Server-side JavaScript runtime environment.
- Express.js: Web application framework for Node.js.
- MongoDB: NoSQL database for storing product and user data.
- Bootstrap: Front-end framework for responsive design.
- JWT: JSON Web Tokens for user authentication.
- Paytem: Payment processing integration.
Contributions to this project are welcome! To contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with clear, concise commit messages.
- Push your branch to your forked repository.
- Create a pull request with a detailed description of your changes.
Happy crafting and shopping! 🛍️🎨