LapTech is an e-commerce platform dedicated to the Algerian market, specializing in buying and selling laptops. This project incorporates cutting-edge technologies, including an AI model, to enhance the user experience by providing accurate price estimates based on laptop specifications.
- E-commerce Platform: LapTech facilitates the buying and selling of laptops within the Algerian market.
- AI Price Estimation: Utilizes an AI model to estimate laptop prices based on user-entered specifications.
- User Authentication: Secure user authentication using Node.js and Express.
- CRUD Operations: Allows basic CRUD operations for managing laptop listings.
- Frontend: React, Vite
- Backend: Node.js, Express, Django
- Database: MongoDB
- AI Model: Integrated with Django backend
- Authentication: JWT (JSON Web Tokens)
Before you begin, ensure you have the following prerequisites installed:
- Node.js and npm
- Python and Django
- MongoDB
- Clone the repository:
git clone https://github.com/KamelTouati/LapTech
cd laptech
- Install dependencies:
# Install frontend dependencies
cd frontend
npm install
# Install backend dependencies
cd ../backend
npm install
# Install Django dependencies for the AI model
cd prediction_model
pip install -r requirements.txt
-
Set up environment variables:
- Create a
.env
file in thefrontend
andbackend
directories, and configure the required environment variables.
- Create a
-
Start the development server:
# Start frontend development server
cd frontend
npm run dev
# Start backend development server
cd ../backend
npm start
Visit http://localhost:5172
to access the LapTech application.
frontend/
: Contains the React and Vite frontend application.backend/
: Includes the Node.js and Express backend for user authentication and CRUD operations.prediction_model/
: Django backend for the AI model to estimate laptop prices.