Skip to content

bahiyyah-4/LAB_PATH_QUERY_PARAMS

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

LAB_PATH_QUERY_PARAMS

Create a project BookStore, this project has two apps :

  • books
  • recommend

The books app has the following endpoints :

  • books/list

    • This endpoint should return the full list of books
    • Note : use a query parameters to limit the amount of books returned.
  • books/view/book_id

    • This endpoint only shows one book information , use Path Parameters to achieve this.

The recommend app has one endpoint:

  • recommend/random/ This endpoint returns a randomly selected book .

Note : Create a calss to represent a book, the book should have the follwoing attributes :

  • Class Book
    • title
    • description
    • author
    • publish_date

Create several books , add them to a books list to accomplish this project.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%