Skip to content

its-lana/Electronic-Store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Electronic Store

Simple Restfull API Web Store with Node JS
Explore the docs »

Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started

About The Project

Home

SignUp

Login

Product Details

Example Filter by Stylish Category

Cart Item

Place Order

List Order



This website was created for project at Data Modelling course. In this application, I implemented using Node JS and MongoDB for Backend and using React JS for Frontend. For caching I use Redis. Features on this website:

  • Already using RestFull API
  • Already use caching with Redis
  • Filter by Category and Price
  • User SignUp and Login
  • Admin Features :
    1. Add and Updated Product
    2. Add and Updated Category
  • User Features :
    1. Add Product to Cart Item
    2. Add User Address (can have more than one address)
    3. Place Order
    4. See the Order List

(back to top)

Built With

  • Node JS
  • Express
  • Redis
  • MongoDB
  • React JS
  • Bcrypt
  • Json Web Token

(back to top)

Getting Started

This will give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Installation

  1. Clone the repo
    https://github.com/its-lana/Electronic-Store.git
  2. Create .env file in server directory and put this
    DB_URI
    DB_NAME
    PORT
    example :
    DB_URI  = mongodb://localhost:27017/
    DB_NAME = myStoreDatabase
    PORT    = 2022
  3. Make sure you have redis installed and running on your machine

  4. Open two terminals to the project folder, then:
    cd server
    npm i
    nodemon server
    cd client
    npm i
    npm run start

(back to top)

Consume API

How to Consume API

You can see the guide in the following file : API.txt

(back to top)