Books Project2 advancement to project1
Books Project2 advancement to project1
- Project two will still be focused on creating Book API Endpoints
- Continued Education includes:
- CRUD request methods - HTTP POST, GET, PUT and DELETE request Methods
- New information will include:
- Data Validation
- Exception Handling
- Status Codes
- Swagger Configuration
- Python Request Objects
Creating as new books project
- We will create a new class called Book
- We will be using these books throughout the project:
- Sample class code
class Book:
id: int
title: str
author: str
description: str
rating: int
def __init__(self, id, title, author, description, rating):
self.id = id
self.title = title
self.author = author
self.description = description
self.rating = rating

Comments
Post a Comment