Welcome to the MilanSilkMills-Ecom repository! This project is an e-commerce website for Milan Silk Mills, showcasing its range of premium silk products. This README provides an overview of the project, how to set it up, and how to contribute.
- Browse a variety of silk products, including sarees, dress materials, and more.
- View product details, prices, and available colors.
- Add products to your cart for easy checkout.
- User authentication for a personalized shopping experience.
- Secure payment gateway integration for smooth transactions.
These instructions will help you set up and run the project on your local machine.
- Node.js (https://nodejs.org/)
- MongoDB (https://www.mongodb.com/)
- Clone the repository:
git clone https://github.com/chavikothari2711/MilanSilkMills-Ecom.git cd MilanSilkMills-Ecom 1. Install server dependencies: cd server npm install 2. Install client dependencies: cd client npm install
-
Create a .env file in the server directory and configure the following environment variables: MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_jwt_secret_key
-
Configure your payment gateway credentials in the respective files.
-
Start the server: cd server npm start
-
Start the client: cd client npm start
-
Access the application at http://localhost:3000.
We welcome contributions to improve the project! To contribute, follow these steps:
Fork the repository.
- Create a new branch: git checkout -b feature/your-feature-name.
- Make your changes and commit them: git commit -m 'Add some feature'.
- Push to the branch: git push origin feature/your-feature-name.
- Open a pull request.
Remember to replace placeholders such as your_mongodb_connection_string
and your_jwt_secret_key
with actual values. Additionally, customize the instructions and sections to match the specifics of your project and its setup process.