I'm a little embarrassed to ask but how do you actually consume an API like those built with FastAPI?

This page summarizes the projects mentioned and recommended in the original post on /r/learnprogramming

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • openapi-generator

    OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)

  • But also, FastAPI can be used to generate client libraries that are specific to your API. There are a number of tools that take in its "open API" standard and spit out client libraries in a bunch of languages. Checkout https://fastapi.tiangolo.com/advanced/generate-clients/ and https://openapi-generator.tech/

  • axios

    Promise based HTTP client for the browser and node.js

  • you don't need React to make the requests, try something like this: https://www.npmjs.com/package/axios

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts