A WebSocket Real-Time Communication (RTC) Web API framework
Find a file
2022-11-28 15:07:20 +02:00
core comments 2022-11-28 15:07:20 +02:00
demos socio 0.1.0 working demo 2022-11-27 21:41:35 +02:00
web upd 2022-11-16 17:43:11 +02:00
.gitignore demo updates 2022-10-29 10:46:45 +03:00
README.md hero page start 2022-11-16 11:16:04 +02:00

Socio.js - WebSocket live/reactive API paradigm with Client-Side SQL queries. (under active early development)

Connecting frontend to backend DB reactively!

Say goodbye to REST APIs. No more API middleware and DB interfacing functions and wrappers and handlers. Write your SQL queries on the frontend and have their results be automagically refreshed on all clients when a resource is changed on the server DB.

Check basic demo to try an interactive bare-bones demonstration. Check secure framework demo to try an interactive demonstration on a Svelte-Vite app!

Comes with a class for auto securing the SQL, so no worries about injections. And even a simple Vite plugin that wraps it 🥳

TODOs 📝

  • Session ID sync with backend webserver sessions
  • Keyed SQL queries
  • Better SQL dependency distinguisher on queries
  • Typescript migration
  • plenty more

Dont be shy to try this out on your small project. Feedback from real world use cases is much appreciated 🥰

Name:

"Socio.js" comes from the latin verb "socio", which means to link or associate. Since this lib syncs your frontend and backend. Its also a play on words for "WebSockets" and "IO".