You are on page 1of 1

pdf for generic code

validation http://stacklearning.com/api/rest-api-laravel-request-validation/

api response
https://laraveldaily.com/laravel-api-errors-and-exceptions-how-to-return-responses/

1. validation chapter4 api


2. response transformer - update unit test chapter4 api
3. filter - order
4. security
5. cors
6. error managing -chap15
7. header renaming request
8. login throtle
9. seeder+command
10. doc installation + api
11. throtling api --------api-video4
12 commad api-book-187

1. validation ---done
2. response transformer - update unit test
3. filter - order video30-5 pagination 31-2
4. security
5. cors
6. error managing
7. header renaming request
8. login throtle
9. seeder+command
10. doc installation + api
11. throtling api
12.relationship

Business requirements:
Per day - a free customer can call 10 API requests.
Per day - a premium/paid customer can call 100 API requests.
Per call - a customer can retrieve a maximum of 10 news.
All the news of a professional author is paid and only accessible by the
premium customer.
Consider the following points when developing your API:
Author, members, and categories should be imported to your database from an
external source.
API Security.
It can be developed using a Framework.
Clean and readable code.
Fetch news as a customer

Consider filter when possible


Only Paid News (for premium customers)
By Categories
Filter by title
Created Date
Other items:
Develop a mechanism to import Categories, Authors and Customers from the
external sources; the data (NOT SCHEMA) can be updated at any time.

You might also like