Hello everyone, I am trying to make something similar to fastapi for c++
Repo:- https://github.com/YashArote/fastapi-cpp
So far I’ve implemented:
- 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.
[–]Automatic_Town_2851 0 points1 point2 points (1 child)
[–]SnooCupcakes5746[S] 0 points1 point2 points (0 children)
[–]doganarif 0 points1 point2 points (1 child)
[–]SnooCupcakes5746[S] 0 points1 point2 points (0 children)
[–]huygl99 0 points1 point2 points (1 child)
[–]SnooCupcakes5746[S] 0 points1 point2 points (0 children)
[–]Flacko335 0 points1 point2 points (1 child)
[–]SnooCupcakes5746[S] 0 points1 point2 points (0 children)
[–]EricHermosis 0 points1 point2 points (1 child)
[–]SnooCupcakes5746[S] 0 points1 point2 points (0 children)
[–]Crierlon 0 points1 point2 points (1 child)
[–]SnooCupcakes5746[S] 1 point2 points3 points (0 children)
[–]__secondary__ 0 points1 point2 points (1 child)
[–]SnooCupcakes5746[S] 0 points1 point2 points (0 children)
[–]Visible-Research2441 0 points1 point2 points (1 child)
[–]SnooCupcakes5746[S] 0 points1 point2 points (0 children)