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.
- 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.
Ensure that Node.js
and MySQL
are installed on your machine.
-
Clone this repository:
git clone https://github.com/dvjsharma/Drawn2Shoe.git cd Drawn2Shoe
-
Install client dependencies:
cd client npm install
-
Install server dependencies:
cd ../server npm install
-
Create a configuration file:
-
Create a file named
config.env
in the server folder and simply copy the content of.env.example
into it. -
Replace
user
andpassword
fromDATABASE_URL="mysql://user:password@localhost:3306/drawn2shoe"
with your credential of mysql in the.env
file. -
Replace
[email protected]
andyour_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.)
-
-
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.
-
-
Running the Frontend:
cd ../client npm run dev
-
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. 🎉
We welcome contributions to Drawn2Shoe! Please refer to our Contributing Guidelines for detailed information on how you can get involved.
This project is licensed under the MIT License - see the LICENSE file for details.
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!💻✨