sethvincent / socket-runtime-sqlite3-example

A small example of using sqlite3 with socket.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

socket runtime + sqlite3 example

This is a very simple journaling app made with Socket Runtime and Sqlite3, in 169 lines of html, css, and js!

That doesn't include the sqlite3 extension to Socket Runtime, but that was copied from the socket repo.

The entire app is in the index.html file, like it's 20 years ago and we're writing php but like, it's good.

This example clearly isn't something that should be shipped to users, but I bet it wouldn't take much to get to a reasonable alpha version.

See also

This example is heavily based on the sqlite3 test extension here: https://github.com/socketsupply/socket/tree/master/test/src/extensions/sqlite3 That includes everything in the scripts and src/extensions/sqlite3 directories.

License

MIT

About

A small example of using sqlite3 with socket.

License:MIT License


Languages

Language:C++ 58.6%Language:HTML 34.3%Language:Shell 7.1%