Skip to content

codebarz/testoop

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published