Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 915 Bytes

README.md

File metadata and controls

39 lines (33 loc) · 915 Bytes

Object Origin Programing



Simple e-commerce functionality with Object Oriented programming in ES5;

Installation

  • Clone the repository
  • Open with an IDE
  • Open the index.js file to see all functionality

Functionality

User

  • User can create an account
  • User can read a single user by ID
  • User can read a single user by name
  • User can update account

Admin

  • Create an account
  • Admin can read a single user by ID
  • Admin can read a single user by Name
  • Admin can read all users
  • Admin can delete a single user
  • Admin can delete all users

Order

  • Create an order (User)
  • Read all orders (Admin)
  • Read a single order (Admin)
  • Update an order (Admin)
  • Delete a single order (Admin)
  • Delete all orders (Admin)

Test Cases

The test case is done using jest