https://github.com/yysun/apprun-websockets-sqlite
AppRun database-driven application using WebSockets without REST API
https://github.com/yysun/apprun-websockets-sqlite
Last synced: 5 months ago
JSON representation
AppRun database-driven application using WebSockets without REST API
- Host: GitHub
- URL: https://github.com/yysun/apprun-websockets-sqlite
- Owner: yysun
- Created: 2020-03-07T14:20:17.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T15:40:45.000Z (over 2 years ago)
- Last Synced: 2024-04-14T18:48:40.434Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://yysun-apprun-websockets-sqlite.glitch.me/
- Size: 980 KB
- Stars: 11
- Watchers: 3
- Forks: 2
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## AppRun - WebSockets - SQLite
Most of the database-driven applications have a REST API based architecture. It is tedious and error-prone to build and then consume the REST API.
This project introduces a new architecture using the [WebSocket API](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API) and [AppRun](https://github.com/yysun/apprun) event system.

* The front-end app is AppRun event-driven without REST API calls. In fact, it has not even network calls.
* The back-end app is also AppRun event-driven without REST API endpoints.
**No more REST API**
## DEMO
[](https://apprun-websockets-sqlite.yysun.repl.co) [](https://apprun-websockets-sqlite.glitch.me)
### Run the Project
* Use _npm start_ to start the dev server
* Use _npm run build_ to build for productionThis is an application built with [AppRun](https://github.com/yysun/apprun).