Skip to content

MoustafaAshraf8/ebuy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EBUY

What does it do?

EBUY is a full-stack e-commerce website. It allows the customer to perform all necessary operations, such as browsing home page to see all available goods, go to a specific product page to see all its informations and also add it to his cart for potential purchase.

Technologies used

My Skills

Getting Started

Prerequisites

Demo

  • homePage image
  • productPage image

Installation

Below are the steps to help you install and run the project:

  1. Clone the repository
git clone https://github.com/MoustafaAshraf8/ebuy.git

Usage

Below are the steps to run the full-stack website

  1. Create database in postgress (sql)
create database ebuy_database;
  1. Create .env file with these data init:
//version
ACTIVE_VERSION=v1
//database
NODE_ENV="production"
POSTGRESS_HOST=<database host>
POSTGRESS_USER=<your postgres username>
POSTGRESS_PORT=<your postgres port || 5432>
POSTGRESS_PASSWORD=<your postgres password>
POSTGRESS_DATABASE="ebuy_database"
//operating
PORT=<your desired operating port || 8080>
//hashing
SALT_ROUND=10
//jwt secret
ACCESS_TOKEN_SECRET="02d87076e5db06edba9cd95c3f835d5c341f32440a295bb8af6f7821ebef24c90b3773e42e630544ad16b9f7a751c2c580282e956882ea6c26a475c64b628959"
REFRESH_TOKEN_SECRET="a00360a1b18f9517af739ab30e7fecfb341db0ccea707d787170baef1191c41a69032c3d06acaf3fc7ec5e99615bb1e4e4a5de3459f42c2b3889118bea8ae4b5"
  1. Run the server
cd Server && npm start
  1. Run the frontend
cd ebuy && npm start
  1. Brouse the website on localhost://3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published