Skip to content

alexander-gush/webstore

Repository files navigation

WebStore Web API application

The application is a SPA that provides the ability to:

  1. Manage (Create, Update, Delete, Sort, View) goods and commodities in warehouse of the application by a salesperson.
  2. Register in an account base for a user.
  3. Change/restore password.
  4. Manage users and roles registered in the application by an administrator.
  5. Manage user’s orders and shopping cart by a user.
  6. Accept or decline user’s orders by a salesperson.

Contains:

  1. Catalog view.
  2. Cart view.
  3. Orders view.
  4. Users view.
  5. Login view.
  6. Registration view.
  7. Account view.

Frontend

Technology stack:

Plugins:

Coding standards:

Start Dev Server

npm run serve

Produces a production-ready bundle in the dist/ directory

npm run build

Produces a production-ready bundle in the dist/ directory and start Node server

npm run build:all

Produces a production-ready bundle in the dist/ directory and start Node server for Windows

npm run build:all:windows

Backend

Technology stack:

Plugins:

Classes:

  1. Main.
  2. Db.
  3. Carts.
  4. Catalog.
  5. Orders.
  6. Users.

API:

/carts
    /                   :get
    /change             :post    
    /delete             :post  
/catalog
    /                   :get  
    /create             :post  
    /delete             :post  
    /edit               :post  
/orders
    /                   :get  
    /create             :post  
    /change-status      :post  
/users
    /                   :get  
    /create             :post  
    /delete             :post  
    /edit               :post 
    /disable            :post 
    /restore            :post 
    /restore-password   :post 
    /login              :get 
    /change-password    :post  

Config:

Contains login and password to connect to MongoDb.

Start Dev Server

npm run dev

Start Prod Server

npm run start

Start Dev Server for Windows

npm run dev:windows

Start Prod Server for Windows

npm run start:windows

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published