Code Monkey home page Code Monkey logo

bangazon-api-farfalle's People

Contributors

cfitzgerald9 avatar cluttered04 avatar iamnickmitchell avatar sydneywait avatar

Watchers

 avatar  avatar  avatar

bangazon-api-farfalle's Issues

Ticket #2: Allow developers to access a product resource

Feature Criteria

Verbs to be supported

GET
POST
PUT
DELETE
User should be able to GET a list of products and GET a single product.

Testing Criteria

Write a testing class and test methods that validate the GET single, GET all, POST, PUT, and DELETE operations work as expected.

Ticket # 5: Allow developers to access the product type resource

Feature Criteria

Verbs to be supported

GET
POST
PUT
DELETE
User should be able to GET a list, and GET a single item.

Testing Criteria

Write a testing class and test methods that validate the GET single, GET all, POST, PUT, and DELETE operations work as expected.

Ticket #4: Allow developers to access the orders resource

Feature Criteria

Verbs to be supported

GET
POST
PUT
DELETE

User should be able to GET a list, and GET a single item.

When an order is deleted, every line item (i.e. entry in OrderProduct) should be removed

Should be able to filter out completed orders with the ?completed=false query string parameter. If the parameter value is true, then only completed order should be returned.

If the query string parameter of ?_include=products is in the URL, then the list of products in the order should be returned.

If the query string parameter of ?_include=customers is in the URL, then the customer representation should be included in the response.

Testing Criteria

Write a testing class and test methods that validate the GET, POST, PUT, and DELETE operations work as expected.

Ticket #7: Allow developers to access the department resource

Feature Criteria
Verbs to be supported

GET
POST
PUT

User should be able to GET a list and GET a single item.

If the query string parameter of ?_include=employees is provided, then all employees in the department(s) should be included in the response.

If the query string parameters of ?_filter=budget&_gt=300000 is provided on a request for the list of departments, then any department whose budget is $300,000, or greater, should be in the response.

Testing Criteria

Write a testing class and test methods that validate the GET single, GET all, POST, and PUT operations work as expected.

Ticket #10: Order detail should contain product details

Update the Order detail JSON object should contain all nested Product information.

For example, when a user navigates to orders/21 they should see:

{
   OrderId: 21,
   CustomerId: 16,
   PaymentTypeId: 83,
   Products: [
      {
         ProductId: 156,
         Name: "Kite",
         Price: 14.25
         Quantity: 1
      },
      {
         ProductId: 212,
         Name: "Roller blades",
         Price: 88.99
         Quantity: 1
      }
   ]
}

Ticket #6: Allow developers to access the employee resource

Feature Criteria

Verbs to be supported

GET
POST
PUT

User should be able to GET a list, and GET a single item.
The employee's department name should be included in the employee representation

A representation of the computer that the employee is currently using should be included in the employee representation

Testing Criteria
Write a testing class and test methods that validate the GET single, GET all, POST, and PUT operations work as expected.

Ticket #3: Allow developers to access payment type resource

Feature Criteria

Verbs to be supported

GET
POST
PUT
DELETE
User should be able to GET a list, and GET a single item.

Testing Criteria

Write a testing class and test methods that validate the GET single, GET all, POST, PUT, and DELETE operations work as expected.

Ticket #9: Allow developers to access the training program resource

Feature Crtieria

Verbs to be supported

GET
POST
PUT
DELETE (but only if the start date is in the future)

User should be able to GET a list, and GET a single item.

Employees who signed up for a training program should be included in the response

Should be able to view only programs starting today, or in the future, with the ?completed=false query string parameter.

Testing Criteria

Write a testing class and test methods that validate the GET single, GET all, POST, PUT, and DELETE operations work as expected.

Ticket #1: Allow developers to access the customer resource

Feature Criteria

Verbs to be supported

GET
POST
PUT

User should be able to GET a list of customers and GET a single customer.

If the query string parameter of ?_include=products is provided, then any products that the customer is selling should be included in the response.

If the query string parameter of ?_include=payments is provided, then any payment types that the customer has used to pay for an order should be included in the response.

If the query string parameter of q is provided when querying the list of customers, then any customer that has a property value that matches the pattern should be returned.

If /customers?q=mic is requested, then any customer whose first name is Michelle, or Michael, or Domicio should be returned. Any customer whose last name is Michaelangelo, or Omici, Dibromic should be returned. Every property of the customer object should be checked for a match.

Testing Criteria

Write a testing class and test methods that validate the GET single, GET all, POST, and PUT operations work as expected.

Ticket #8: Allow developers to access the computers resource

Feature Criteria

Verbs to be supported

GET
POST
PUT
DELETE
User should be able to GET a list, and GET a single item.

Testing Criteria

Write a testing class and test methods that validate the GET single, GET all, POST, PUT, and DELETE operations work as expected.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.