Building Simple API with FastAPI, PostgreSQL, and Docker

Mbeya University of Science and Technology, iyunga, Mbeya, 0000

Mbeya University of Science and Technology - Mbeya, Tanzania

Join us and start your journey in building, deploying, and managing efficient and high-performance APIs with FastAPI, PostgreSQL, and Docker!

Jun 8, 6:30 – 9:30 AM

9 RSVP'd

RSVP Now

Key Themes

Compose CampGeminiOpen SourceWeb

About this event

Join us for an insightful workshop on creating a simple API using FastAPI, PostgreSQL, and Docker. This even is designed for software developers who are keen to dive into API development with one of the fastest-growing frameworks. We will start from the basics and walk you through setting up a FastAPI project, connecting it with a PostgreSQL database, and implementing the GET method for retrieving data. Additionally, you'll learn how to containerize your application using Docker for seamless deployment and scalability. By the end of this session, you'll have a practical understanding of building, deploying, and managing APIs efficiently.


Agenda:

Introduction to APIs and RESTful Services:

  • Understanding APIs and their significance in software development.
  • Overview of RESTful web services and JSON communication.

Why FastAPI?

  • Key benefits of using FastAPI for API development.
  • Comparison with other frameworks like Flask-RESTful and Django Rest Framework.

Getting Started with FastAPI:

  • Setting up your development environment.
  • Creating your first FastAPI project.

Connecting FastAPI with PostgreSQL:

  • Setting up PostgreSQL.
  • Integrating FastAPI with PostgreSQL for data management.

Implementing the GET Method:

  • Writing and testing your first GET endpoint.
  • Handling requests and responses.

Introduction to Docker:

  • Understanding Docker and containerization.
  • Key benefits of using Docker for development and deployment.

Containerizing FastAPI and PostgreSQL with Docker:

  • Writing Dockerfiles for FastAPI and PostgreSQL.
  • Using Docker Compose to manage multi-container applications.

Automatic Documentation and Data Validation:

  • Leveraging FastAPI’s automatic documentation feature.
  • Using Pydantic for data validation.

Q&A Session:

Open floor for questions and interactive discussion.

Who Should Attend:

  • Software developers and engineers interested in API development.

  • Beginners in API and web service creation.
  • Anyone interested in learning FastAPI, PostgreSQL integration, and Docker containerization.

When

When

Saturday, June 8, 2024
6:30 AM – 9:30 AM UTC

Speakers

  • Philbert Shio

    Data Engineer

  • Sita Mgoma

    GDSC MUST

    Lead

  • Dickson Ngasa

    GDSC Multimedia Head

Facilitator

  • Anna Amani

    GDSC Co-Lead

Organizers

  • sita mgoma

    GDSC Lead

  • Anna aman383

    GDSC Co-Lead

  • George Raphael

    Vastlabs Technologies

    GDSC Advisor

  • dixon charles

    GDSC Multimedia Head

  • Apoly Scott

    Netsciences

    GDSC Technical Lead

  • Edwin Nchia

    SmartsMarker

    GDSC Outreach

  • Phocas Sebastian Sengo

    PhocieXpert Technologies

    GDSC Events Coordinator

  • Gwakisa Mwangomo

    GDSC Graphics Designer

  • Clement Mabula

    Ment Inc

    GDSC Marketing and Research

Contact Us