Skip to content

AhmadYousif89/Techbots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Techbots

Introduction

Techbots is an e-commerce platform dedicated to providing a comprehensive selection of computer and electronics parts. Users can browse products, read detailed reviews, manage their shopping cart, and place orders seamlessly.

Add Environment Variables

Create a .env file in the root directory of the project and add the following environment variables found in this .env.example file

Installation

To run Techbots locally, please follow these steps:

  1. Clone the repository:

    git clone https://github.com/ahmadyousif89/techbots.git
    cd techBots
  2. Install the node module depenencies:

    pnpm install
  3. Set up the database:

    npx prisma db push
  4. Seed products into the database (one time action):

    pnpm seed
  5. Run the development server:

    pnpm dev
  6. Access the application:

    Open your browser and go to `http://localhost:3000/`.
    

Usage

  1. Register an account:
  • Go to the registration page and create a new account. Signup UserProfile
  1. Browse products:
  • Explore various categories of computer and electronics parts. Products Products
  1. Manage your cart:
  • Add items to your cart, update quantities, and remove items as needed. Cart Shipping-1 Shipping-2 Shipping-3
  1. Place an order:
  • Proceed to checkout, enter your shipping information, and complete the payment process. Orders Order
  1. Write reviews:
  • Share your feedback on purchased products by writing reviews. Review

Contributing

We welcome contributions from the community! To contribute to Techbots:

  1. Fork the repository:

    Click on the "Fork" button at the top right corner of the repo page.

  2. Clone your fork:

    git clone https://github.com/ahmadyousif89/techbots.git
    cd techbots
  3. Create a new branch:

    git checkout -b feature/your-feature-name
  4. Make your changes:

    Implement your feature or bug fix.

  5. Commit your changes:

    git add .
    git commit -m "Add feature/your-feature-name"
  6. Push to your fork:

    git push origin feature/your-feature-name
  7. Create a pull request:

    Go to the original repository and click on "New Pull Request."


License

This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.



Thank you for using Techbots!

For any questions or feedback, please contact us through our LinkedIn page.

Releases

No releases published

Packages

No packages published