Skip to content
/ webcore Public

A C++ web framework inspired by frameworks like ASP.NET and Go's http package

License

Notifications You must be signed in to change notification settings

ktkk/webcore

Repository files navigation

WebCore

WARNING

This project is a concept and a work in progress! In its current state, only the most basic of requests work ("GET /").

Getting started

See example/ for a simple example application using WebCore.

You can use the router to register routes like this:

auto router = Router();

router.add_route(HttpMethod::Get, "/", [](auto& res, auto& req) {
    res.set_status(HttpStatus::Ok);
});

Testing

Tests are provided in the tests/ directory. You can run them with ctest.

WARNING

Tests are still a work in progress.

About

A C++ web framework inspired by frameworks like ASP.NET and Go's http package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published