Skip to content

chavikothari2711/MilanSilkMills-Ecom

Repository files navigation

MilanSilkMills-Ecom

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.

Table of Contents

Features

  • 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.

Getting Started

These instructions will help you set up and run the project on your local machine.

Prerequisites

Installation

  1. 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
    

Configuration

  1. 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

  2. Configure your payment gateway credentials in the respective files.

Usage

  1. Start the server: cd server npm start

  2. Start the client: cd client npm start

  3. Access the application at http://localhost:3000.

Contributing

We welcome contributions to improve the project! To contribute, follow these steps:

Fork the repository.

  1. Create a new branch: git checkout -b feature/your-feature-name.
  2. Make your changes and commit them: git commit -m 'Add some feature'.
  3. Push to the branch: git push origin feature/your-feature-name.
  4. Open a pull request.

Note

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.