# Ecommerce Project
This project has a **React frontend (converted to TypeScript)** (`ecommerce-project`) and a **Node.js backend** (`ecommerce-backend`). Follow these steps to run it locally.
---
## Prerequisites
- Node.js and npm installed
- Both frontend and backend folders available
---
## Run the Backend
1. Go to the backend folder:
```bash
cd ecommerce-backend-
Install dependencies:
npm install
-
Start the backend server:
node server.js
-
Backend usually runs on
http://localhost:5000.
-
Go to the frontend folder:
cd ../ecommerce-project -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open the URL printed in the terminal (usually
http://localhost:5173).
- The frontend is written in TypeScript, but type checking may not be fully implemented.
- Make sure the backend is running first, otherwise the frontend cannot fetch product data.
- Some features (like search) may not be fully functional yet.
This project was developed based on the tutorials provided by SuperSimpleDiv.Their tutorials on building a React ecommerce project were instrumental in creating this project.