Skip to content

WIP (Updating dependencies). REST API Framework for C. Basically, Express in C, but with my flavor of what it should have been like

License

Notifications You must be signed in to change notification settings

resyfer/libexpress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libexpress

C Tag

REST API Framework for C. My implementation of Express in C, without actually seeing the source code, with my flavour of how things should work both for the consumer of the library as well as under the hood.

The best part? Requests for files are served in sub-millisecond timings:

image

It uses a thread-pool under the hood to handle a large number of simultaenous requests, and it does its job magnificently.

You will find a tutorial here, full documentation here and the installation instructions here and a TL;DR version here

Contributing

Would love any kind of contribution to this! No rules right now except follow Linux's Code Styling format :)

Bugs/Feature Requests

Please open a PR, would love to look at it. This includes requests to add MIME type for your required file type, I will be glad to.

Goals

  • Priority based route selection
  • Any number of middlewares for a route
  • More examples
  • Ability to add middlewares with a syntax similar to Express's router.use()
  • HTTPS, HTTP/2 and HTTP/3 support (currently supports HTTP/1.1 only)

About

WIP (Updating dependencies). REST API Framework for C. Basically, Express in C, but with my flavor of what it should have been like

Resources

License

Stars

Watchers

Forks

Packages

No packages published