newforce-at-mountwest / bangazon-api-farfalle Goto Github PK
View Code? Open in Web Editor NEWbangazon-api-farfalle created by GitHub Classroom
bangazon-api-farfalle created by GitHub Classroom
We need a bare-bones, single page, client application written with a component-based JavaScript framework that will allow our customers to view all resources, add new resources, and modify existing resources.
Do not allow the client application to delete resource for the first iteration.
Verbs to be supported
GET
POST
PUT
DELETE
User should be able to GET a list of products and GET a single product.
Write a testing class and test methods that validate the GET single, GET all, POST, PUT, and DELETE operations work as expected.
Verbs to be supported
GET
POST
PUT
DELETE
User should be able to GET a list, and GET a single item.
Write a testing class and test methods that validate the GET single, GET all, POST, PUT, and DELETE operations work as expected.
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.
Write a testing class and test methods that validate the GET, POST, PUT, and DELETE operations work as expected.
Update, and use, a CORS policy that only allows requests from the http://bangazon.com domain.
Ref: https://docs.microsoft.com/en-us/aspnet/core/security/cors
By using the URL parameter /customers/?active=false
, the JSON response should only contain customers that don't have any orders placed yet.
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.
Write a testing class and test methods that validate the GET single, GET all, POST, and PUT operations work as expected.
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
}
]
}
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.
Verbs to be supported
GET
POST
PUT
DELETE
User should be able to GET a list, and GET a single item.
Write a testing class and test methods that validate the GET single, GET all, POST, PUT, and DELETE operations work as expected.
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.
Write a testing class and test methods that validate the GET single, GET all, POST, PUT, and DELETE operations work as expected.
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.
Write a testing class and test methods that validate the GET single, GET all, POST, and PUT operations work as expected.
Verbs to be supported
GET
POST
PUT
DELETE
User should be able to GET a list, and GET a single item.
Write a testing class and test methods that validate the GET single, GET all, POST, PUT, and DELETE operations work as expected.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.