TechCart Project
This project is an E-commerce platform designed to provide users with a convenient and seamless shopping experience. It aims to offer computer-related items with ease.
Hosted at: https://tech-cart-rust.vercel.app/
- HTML, CSS, JavaScript
- React.js (frontend library)
- Tailwind CSS
Hosted at: https://techcart-7pz5.onrender.com
- Node.js
- Express.js
Hosted at: Aiven
- MySQL
- JSON Web Tokens (JWT)
- Git (for version control)
-
Clone the repository:
git clone https://github.com/pr-a-sh-ant/TechCart.git
-
Navigate to the project directory:
cd TechCart
-
Navigate to the server directory:
cd server -
Install the required dependencies:
npm install
-
Start the server:
npm run start
-
To start the server in debug mode:
npm run debug
- Ensure you have the correct
.envfile configured. Structure of env file is given in the readme file of server along with routes.
-
Navigate to the client directory:
cd client/ -
Install the required dependencies:
npm install
-
Start the client:
npm run start
- Ensure you have the correct
.envfile configured.
We are using MySQL in this project.
-
In the
databasefolder, the filecreateTables.sqlcontains detail about all out tables. -
In server the code in the sql file is executed while running for the first time.
├── client/
│ ├── public/
│ ├── src/
│ ├── package.json
│ └── ...
├── server/
│ ├── config/
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ ├── package.json
│ └── ...
├── database/
│ ├── createTables.sql
│ └── ...
└── README.md
Here are some of the key pages in our application:
- Home Page: Landing page displaying featured products and categories
- Product Page: Shopping page for the user
- Cart Page: Shopping cart with selected items and checkout options
- Order Page: User order history
- Dashboard: Overview of sales, orders, and inventory
- Product Management: Add, edit, and remove products
- Order Management: Track and delete order status
- User Management: Manage customer accounts and permissions





