Discussion

Ask HN: C/C++ web framework with routes (like Node.js, Python Flask)

Node.js, and Python Flask or Bottle micro-frameworks make it possible to create a server with routes like this:

    from bottle import route, run
    @route('/hello')
    def index():
        return 'hello world'
    @route('/news')
    def news():
        ...
    run(port=8080)
What are the most popular solutions like this in C or C++?
19 points josephernest 4 years ago 12 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton