{"id":16608604,"url":"https://github.com/arsdever/expresscpp","last_synced_at":"2026-04-17T20:31:58.693Z","repository":{"id":135994992,"uuid":"197361573","full_name":"arsdever/expresscpp","owner":"arsdever","description":"Express server written in C++","archived":false,"fork":false,"pushed_at":"2019-11-28T18:08:04.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T16:01:27.651Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arsdever.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-17T09:47:14.000Z","updated_at":"2024-01-29T17:07:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"72483b91-9fdd-425b-a1f4-76128145698f","html_url":"https://github.com/arsdever/expresscpp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arsdever/expresscpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arsdever%2Fexpresscpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arsdever%2Fexpresscpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arsdever%2Fexpresscpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arsdever%2Fexpresscpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arsdever","download_url":"https://codeload.github.com/arsdever/expresscpp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arsdever%2Fexpresscpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31944982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T01:26:45.457Z","updated_at":"2026-04-17T20:31:58.675Z","avatar_url":"https://github.com/arsdever.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ExpressC++\n\nThis is a library similar to ExpressJS framework. It was developed for\n`C++`/`Qt` developers to make it easier to develop web applications.\n\n# Usage\n\n## Preparations\n\nFirst of all you have to have installed [Qt 5.12.2](http://download.qt.io/official_releases/qt/5.12/5.12.2/)*\n\n(*note that the application was developed under Qt v5.12.2, that's why the reference is to this version. It may work with the newer versions as well*)\n\nAfter that download and build the project. It will require extra sources (general [interfaces](https://github.com/opensalad/interfaces) provided by [opensalad organization](https://github.com/opensalad)).\n```\ncd ~\ngit clone https://github.com/opensalad/interfaces\ngit clone https://github.com/arsdever/expresscpp\ncd expresscpp\nqmake\nmake\n```\n\n*__If case you download components in different folders, please have a look at the `.pro` file of `expresscpp` component to make sure that given include path is correct__*\n\n## Example code\n\nThis is a simple code that uses the library.\n\n``` c++\n// example.cpp\n#include \u003cQCoreApplication\u003e\n#include \u003cserver.h\u003e\n\nusing namespace ad::http;\n\nint main(int argc, char **argv)\n{\n    QCoreApplication app(argc, argv);\n\n    Server express;\n    express.GET(QRegularExpression(\"/*\"), [](Server::request_t \u0026req, Server::response_t \u0026res) {\n        res.setBody(\"Hello World\");\n    });\n    express.begin();\n\n    return app.exec();\n}\n```\n\n## Example `.pro` file\n\n``` makefile\nTEMPLATE = app\nTARGET = application\nDEFINES += QT_DEPRECATED_WARNINGS\nLIBS += -L../expresscpp -lexpresscpp\nINCLUDEPATH += \u003cPATH_TO_INTERFACES_PROJECT\u003e \u003cPATH_TO_EXPRESSCPP_PROJECT\u003e\nSOURCES += example.cpp\nQT += core\n```\n\n### Result\n\nAfter all preparings, build the application using the following command from `example` containing directory\n``` bash\nqmake\nmake\n```\nand run it (don't miss to update `LD_LIBRARY_PATH` or simply copy the `expresscpp.so.*` files into directory)\n``` bash\nLD_LIBRARY_PATH=\u003cPATH_TO_EXPRESSCPP\u003e ./application\n```\nor\n``` bash\ncp \u003cPATH_TO_EXPRESSCPP\u003e/*.so* ./\n./application\n```\nor add post-build event into `expresscpp.pro` file to copy built libraries into this path.\n\nNow open any application to make a `HTTP GET call`. Enter uri `localhost:8008/any/path`. Do call and you will get respond\n\u003e Hello World\n\n# Contribution\n\nIf you would like to contribute, please feel free for any feedback, code contribution, feature offer, code advice and etc. Also feel free to create an issue.\n\n# 3rd party\n\nAs you can guess, the library is based on `Qt` library. In future it's planned to remove all `Qt` dependencies.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farsdever%2Fexpresscpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farsdever%2Fexpresscpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farsdever%2Fexpresscpp/lists"}