This device is not compatible.
You will learn to:
Use the fundamentals of FastAPI, including routing, dependency injection, and response models.
Understand the fundamentals of schema definition language and resolver functions.
Use Masonite ORM to interact with databases, including creating tables, querying data, and performing CRUD operations.
Use pydantic to interact with the database.
Skills
Web Frameworks
API Development
Backend Development
Prerequisites
Intermediate understanding of FastAPI
Basic understanding of Masonite ORM
Basic understanding of pydantic
Intermediate knowledge of endpoints
Technologies
Python
FastAPI
Pydantic
Masonite ORM
Project Description
This project aims to create a healthcare RESTful web service built using FastAPI and Masonite ORM with SQLite as the database management system. It will allow users to manage patient information, medical records, appointments, and medication.
We’ll create the following key features of the healthcare API in this project:
- Create, read, update, and delete patient information.
- Create, read, edit, and delete patient medical records.
- Create, read, edit, and delete patient appointments.
- Create, read, edit, and delete patient medication.
- Get a single patient’s medical records, appointments, and medication.
This healthcare API will be a reliable, scalable, and secure solution for managing patient information, medical records, appointments, and medication for healthcare-related businesses. We’ll learn how to create an API with FastAPI using Masonite ORM and pydantic.
Project Tasks
1
Manage the Database Using Masonite ORM
Task 0: Get Started
Task 1: Create Models
Task 2: Create Migrations
Task 3: Add Fields in the Patient Table
Task 4: Add Fields in the Appointment Table
Task 5: Add Fields in the MedicalRecord Table
Task 6: Add Fields in the Medication Table
Task 7: Make the Migration
Task 8: Update the Patient Model
Task 9: Update the MedicalRecord Model
Task 10: Add a Schema for the Patient Model
Task 11: Add a Schema for the Appointment Model
Task 12: Add a Schema for the MedicalRecord Model
Task 13: Add a Schema for the Medication Model
2
Create and Manage the Endpoints
Task 14: Create Endpoints for the Patient Model
Task 15: Create Endpoints for the Appointment Model
Task 16: Create Endpoints for the MedicalRecord Model
Task 17: Create Endpoints for the Medication Model
Congratulations!
Relevant Courses
Use the following content to review prerequisites or explore specific concepts in detail.