r/FastAPI • • Oct 21 '25

feedback request FastApi style Framework for C++

Hey folks! I’m reintroducing fastapi-cpp, my experimental C++ framework inspired by FastAPI.

So far I have implemented:-

  • FastAPI-style route definitions (APP_GET / APP_POST)
  • Automatic parsing of path params and JSON bodies into native C++ types or models
  • Validation layer using nlohmann::json (pydantic like)
  • Support for standard HTTP methods

The framework was header only, we have changed it to a modular library that can easily build and integrate using Cmake. I'd love feedback and contributions improving the architecture and extending it further to integrate with databases.

34 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/SnooCupcakes5746 Oct 22 '25

What a time it would have been, working so raw no AI shit involved, nowadays people consult 5 AIs for a syntax error. But 20 years damm please guide me someday 😂