Skip to content

Latest commit

 

History

History
189 lines (124 loc) · 6.22 KB

README.md

File metadata and controls

189 lines (124 loc) · 6.22 KB

Drawn2Shoe: Buy Customized Shoes Online!👟🎨

Drawn2Shoe is a user-friendly e-commerce platform, developed using ReactJS and Node.js. It offers customers the ability to purchase and personalize their shoes. The platform's intuitive interface ensures seamless navigation and usability across a variety of devices.

🌟 Stars 🍴 Forks 🐛 Issues 🔔 Open PRs 🔕 Close PRs
Stars Forks Issues Open Pull Requests Close Pull Requests

💻Tech Stack

React Redux daisyUI CSS Node.js Express

✨Features

  • Custom Shoe Design: Personalize your shoes with a variety of colors, patterns, and designs.
  • Responsive Design: Seamless experience on mobile, tablet, and desktop devices.
  • User-Friendly Interface: Intuitive navigation for an easy shopping experience.
  • Secure Payments: Multiple secure payment options to choose from.
  • Order Tracking: Keep track of your orders in real-time.
  • Customer Reviews: Read and leave reviews for products.
  • Wishlist: Save your favorite designs for future purchases.

🚀Getting Started

Prerequisites

Ensure that Node.js and MySQL are installed on your machine.

Installation

  1. Clone this repository:

    git clone https://github.com/dvjsharma/Drawn2Shoe.git
    cd Drawn2Shoe
  2. Install client dependencies:

    cd client
    npm install
  3. Install server dependencies:

    cd ../server
    npm install
  4. Create a configuration file:

    1. Create a file named config.env in the server folder and simply copy the content of .env.example into it.

    2. Replace user and password from DATABASE_URL="mysql://user:password@localhost:3306/drawn2shoe" with your credential of mysql in the .env file.

    3. Replace [email protected] and your_password with a actual Email address and Password. Make sure your two-factor-authentication is on for this mail. This address would be used to send reset links for forgot password. (This step is only necessary if you working on forgot password else leave it as it is.)

  1. Setting up Prisma:

    • Install Prisma CLI globally:

      npm install -g prisma
    • Follow the interactive prompts to set up Prisma with your database.

    • To generate Prisma client:

      cd ../server
      npx prisma generate
    • To migrate the database:

      cd ../server
      npx prisma migrate dev --name init
    • To seed the database :

      To populate initial datasets in the database:

      cd ../server
      node prisma/seed.js
    • Follow the interactive prompts to set up Prisma with your database.

  2. Running the Frontend:

    cd ../client
    npm run dev
  3. Running the Backend:

    Open another terminal in the folder, and make sure XAMPP (or any other SQL Db service) is running in the background.

    cd ../server
    node server.js

After completing these steps, you should have the Drawn2Shoe application up and running on your local machine. 🎉

🤝Contributing

We welcome contributions to Drawn2Shoe! Please refer to our Contributing Guidelines for detailed information on how you can get involved.

👥Maintainers

📜License

This project is licensed under the MIT License - see the LICENSE file for details.

💬Message From PA

Welcome to Drawn2Shoe!

We're glad you're here and excited for you to explore our project. Whether you're checking out the code, contributing to the project, or providing feedback, your presence and input are invaluable.

Feel free to dive in, get involved, and make Drawn2Shoe even better!

Happy coding!💻✨

Our Contributors ❤️

Thank you for contributing to our repository

Contributors

Show some ❤️ by starring this awesome repository!