Skip to content

Latest commit

 

History

185 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RejTech E-commerce Application

RejTech is a full-stack e-commerce application for computer parts and accessories. It features a client-side application built with React and Vite, and a server-side API built with Node.js and Express.

Project Structure

The project is organized into two main directories:

  • client/: Contains the frontend React application.
  • server/: Contains the backend Node.js API.

Each directory has its own README.md with specific instructions for that part of the application.

Prerequisites

  • Node.js (v18.x or later recommended)
  • npm (or yarn)

Setup

  1. Clone the repository:

    git clone <repository-url>
    cd RejTech_app
  2. Setup the Server: Navigate to the server directory and follow the instructions in server/README.md.

    cd server
    npm install
    # (Follow additional setup steps like .env configuration)
    npm run dev
  3. Setup the Client: Navigate to the client directory and follow the instructions in client/README.md.

    cd ../client
    npm install
    # (Follow additional setup steps like .env configuration)
    npm run dev

Running the Application

  • The server will typically run on http://localhost:5000 (or the port specified in your server config).
  • The client (Vite development server) will typically run on http://localhost:5173 (or the port specified by Vite).

Features

Client-side (React App)

  • User authentication (register, login, password reset)
  • Product browsing, searching, and filtering
  • Product details view with reviews
  • Shopping cart functionality
  • Checkout process
  • User account management (orders, addresses)
  • Admin panel for managing products and orders
  • Responsive design

Server-side (Node.js API)

  • RESTful API for products, orders, users, cart, etc.
  • JWT-based authentication and authorization
  • Image uploads (e.g., to Cloudinary)
  • Email service for notifications (e.g., order confirmation, password reset)
  • Database integration (e.g., MongoDB with Mongoose)

License

This project is licensed under the MIT License. See LICENSE for more information. (Note: LICENSE file would need to be created if it doesn't exist).

About

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages