A FastApi-style framework for Cpp
Hello everyone, I am trying to make something similar to fastapi.
So far I’ve implemented:
* Header-only design (just include one header to get started)
* FastAPI-style route definitions with `APP_GET` / `APP_POST` macros
* 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
Due to lack of reflection in cpp, working on few parts was somewhat challenging to me as a beginner. It’s still early-stage and experimental, but I’d love guidance, feedback, and contributions from the community.
Repo:- [https://github.com/YashArote/fastapi-cpp](https://github.com/YashArote/fastapi-cpp)
https://redd.it/1nvjqxe
@r_cpp
Post #23952
20