This is a POC using recoiljs and Deno with Server Sent Events showing how easy it is to manage list of users online status.
You just have to install Deno and run the server like
deno run --allow-net --allow-read --watch ./backend/index.ts
It will start the backend on port 8888. You can change the port in the ./backend/.env
file.
- Install dependencies (first time only)
yarn install
- Run
yarn start
It will start the development server onand serve the React app on http://localhost:3000
.