Putting small pieces together

Goal: see if it is possible to write web applications in C++ and keep the code simple and clean.


Result: template-based, SQLite-backed website written in about 150 lines of C++ code, including a function for basic database schema migration.

Answer: yes, it is possible.

Is it perfect? No. It’s just a test. But I think it is at a point where somebody could take it and extend it really easily to do quite a lot with little effort.

Check out the project on GitHub.

The main source file is here.

Leave a Reply