Skip to content

Team-8 E-Commerce Project for egFWD & Sprints industry exposure program You can check the live demo Here

License

Notifications You must be signed in to change notification settings

Mindirix/Team-8-E-Commerce-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This Project is NOT working as intended and needs some fixes.

Team-8 E-Commerce Project

Team-8 E-Commerce Project for egFWD & Sprints industry exposure program

You can check the live demo Here

Table of Contents

Development

The app runs with ReactJs for Front-End and MongoDB for Back-End

Dependencies

You need to have Node.js - MongoDB

  • To install node you can download form the wesite nodeJs or install from your package manger nodeJs Package Manger npm is included

  • To install MongoDB you can download from the website Windows / linux follow your distro instructions.

Getting Started

Front-End App

  • Clone the Repo and install dependencies for Front-End and start the app
git clone https://github.com/Mindirix/Team-8-E-Commerce-Project.git
cd Team-8-E-Commerce-Project/e-commerce-app
npm install
npm start

Back-End Server

  • navigate to (Team-8-E-Commerce-Project/e-commerce-api) and create Environment variables (.env) file with these parameters :
MONGO_URL="mongodb://localhost:27017/e_commerce_app"
SALT_ROUNDS=10
PEPPER="this-is-a-pepper"
BCRYPT_PASSWORD="speak-friend-from-the-other-side-and-enter"
TOKEN_SECRET="alohomora123!"
  • run MongoDB server

    navigate to where you installed MongoDB and run

    mongod
    

    or you can use the gui called MongoDB Compass

  • install back-end dependencies and start the server

    navigate to where you cloned the repo (e-commerce-api folder)

cd Team-8-E-Commerce-Project/e-commerce-api
npm install
npm run start2 
  • it should show
your server is running at http://localhost:8080
Database Connected

Team Members

License

This project is Licensed under the GNU General Public License v3.0