Rest APIs with C++ - The CrowCpp Project
summary
CrowCpp bills itself as a header-only C++ REST library that aims for Flask-like ease, removes Boost in favor of Asio, and provides built‑in JSON, mustache templates, multipart uploads and optional OpenSSL/compression. Routes map URL patterns to lambda handlers, blueprints split components, and a demo blog shows full CRUD via JSON plus a simple web UI; concurrency is handled with a mutex and code uses an std::expected-like return type. Missing features: no HTTP/2, no date support in JSON, no DB/ORM. curl-ready examples and a WebSocket chat example are included.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:00REST API concepts
- 3:32REST practice with curl
- 4:52Crow framework overview
- 6:43JSON and data handling
- 8:32Crow routing and lambdas
- 10:53Blueprints and web sockets
- 12:21Static files and templates
- 14:20Middleware and C++ features
- 16:29Live demo and code walkthrough
- 19:35Backend implementation details
- 22:00Authentication implementation
- 24:08Limitations and future
- 26:00Q&A session
