Restbed
Crow
Our great sponsors
Restbed | Crow | |
---|---|---|
5 | 8 | |
1,885 | 7,372 | |
0.3% | - | |
0.0 | 0.0 | |
about 1 year ago | about 1 year ago | |
C++ | C++ | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Restbed
-
How to use C++ as the backend for web dev?
Use a rest api library like https://github.com/corvusoft/restbed. You can use a json library with this to serialize/deserialize your data into json objects.
-
What does modern (good) API development look like and what are the best tools to use?
Contrary to the direction most people go, I've been writing REST APIs as C++ servers using two different fairly full featured C++ REST frameworks: first using https://github.com/Corvusoft/restbed and more lately using https://github.com/Stiffstream/restinio. These can be peers with any other server, while living on embedded and/or high compute devices for video encode/decode/analysis, deployed ML models, encryption for and remote process communications, model data collection and similar expensive or in-field processing. In both high compute and in-field-no-internet situations creating REST APIs in C++ enables speed and system controls not present in the majority of the mainstream REST frameworks. It's a big world, and here comes ubiquitous high compute...
-
I'm not sure what to study now ):
There are some C++ API frameworks like Pistache or Restbed (full list here) to get started. If I should be 100% honest, I don't think C++ is worth for APIs as we have easier solutions with the same performance nowadays (like Go and Rust), but I think we should try everything, right?
-
cpprestsdk in maintenance mode
If you need an embedded C++ HTTP server then there are plenty of libraries/frameworks (in random order): Crow, RESTinio, Boost.Beast, cpp-httplib, http_backend, Pistache, RestBed, served, proxygen, Simple-Web-Server, drogon, oat++.
- Rest Api Routes Implementation
Crow
-
VueJS goes to microcontroller firmware. This website runs in ESP32 board, with frontend is made with VueJS, TailwindCSS and backend is written in C++.
I did something similar in the past and used https://github.com/ipkn/crow as web server, in case you want to not implement the web part yourself. Otherwise amazing job!
- [Cpp] Quelle bibliothèque de serveur Web C++ faut-il utiliser de nos jours ?
-
C++ to Browser JS Framework Recommendations
Open socket, serve a html page, implement GET/PUT or find framework that do https://github.com/ipkn/crow
-
C++ Best Uses
A web server e.g. https://github.com/ipkn/crow
-
RESTful API framework
It seems nice, but the framework seems to be dead. There are still open pull requests and the contribution page speaks for itself: https://github.com/ipkn/crow/graphs/contributors
-
C++ vs C# .net 5
All right Op feel free to check this micro framework out if your company is going to build a rest api in C++ https://github.com/ipkn/crow .
-
cpprestsdk in maintenance mode
I haven't used any of the following libraries/frameworks but maybe some of them will fit for your needs: - Crow micro web framework
-
How to use C++ as backend
https://github.com/fffaraz/awesome-cpp#web-application-framework Crow is nice for what i need most often, https://github.com/ipkn/crow
What are some alternatives?
C++ REST SDK - The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.
Oat++ - 🌱Light and powerful C++ web framework for highly scalable and resource-efficient web application. It's zero-dependency and easy-portable.
Pistache - A high-performance REST toolkit written in C++
drogon - Drogon: A C++14/17 based HTTP web application framework running on Linux/macOS/Unix/Windows [Moved to: https://github.com/drogonframework/drogon]
Boost.Beast - HTTP and WebSocket built on Boost.Asio in C++11
Wt - Wt, C++ Web Toolkit
RESTinio - Cross-platform, efficient, customizable, and robust asynchronous HTTP(S)/WebSocket server C++ library with the right balance between performance and ease of use
TreeFrog Framework - TreeFrog Framework : High-speed C++ MVC Framework for Web Application
POCO - The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.
CppCMS - CppCMS Framework