elenejavakhishvili638 / eShop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eShop App

The eShop App is a full-stack web application that allows users to authenticate and shop for various products. With an interactive front-end, users can browse through product listings, add items to their cart, and proceed to checkout. The backend handles user registration, login, and checkout processes, ensuring e-commerce platform.

Table of Contents

Prerequisites

Before diving into the eShop App, you'll need to have the following tools installed on your system:

  • Node.js - Version 16.3.0 or higher
  • npm - Node.js package manager

Tech Stack

The application is crafted using a combination of the following technologies:

Backend:

  • Node.js: For server-side logic.
  • Express.js: Web framework for creating API endpoints.
  • Mongoose: For schema-based solution to model application data.
  • jsonwebtoken: To create encoded JWTs for auth.
  • bcrypt: For password hashing and security.

Frontend:

Getting Started

Follow these instructions to get your copy of the eShop App up and running on your local machine for development and testing purposes.

  1. Clone the repository:

    git clone https://github.com/elenejavakhishvili638/eShop.git
    
  2. Change to the project directory:

    cd eShop
  3. For backend setup, navigate to the backend directory and run:

    npm install
  4. Create a .env file in the project root for the backend. Configure the necessary environment variables, including the MongoDB connection URI, JWT secret, and other pertinent details.

  5. Start the backend server:

    npm run dev
  6. For frontend setup, navigate to the frontend directory and run:

    npm install
  7. Start the frontend development server:

    npm run dev

The eShop application should now be running locally. By default, the backend should be at http://localhost:3001 and frontend at http://localhost:3000.

About


Languages

Language:TypeScript 85.1%Language:CSS 12.7%Language:JavaScript 1.2%Language:HTML 1.0%