LapTech: Algerian Laptop Marketplace

LapTech Logo

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.

Table of Contents

Features

  • 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.

Technologies Used

  • Frontend: React, Vite
  • Backend: Node.js, Express, Django
  • Database: MongoDB
  • AI Model: Integrated with Django backend
  • Authentication: JWT (JSON Web Tokens)

Getting Started

Prerequisites

Before you begin, ensure you have the following prerequisites installed:

  • Node.js and npm
  • Python and Django
  • MongoDB

Installation

  1. Clone the repository:
git clone https://github.com/KamelTouati/LapTech
cd laptech
  1. 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
  1. Set up environment variables:

    • Create a .env file in the frontend and backend directories, and configure the required environment variables.
  2. 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.

Project Structure

  • 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.

Screenshots

alt text alt text alt text alt text alt text alt text alt text alt text alt text