https://github.com/chamerling/react-recoil-poc
Playing with React, recoil, Deno and SSE
https://github.com/chamerling/react-recoil-poc
deno react recoiljs sse
Last synced: about 2 months ago
JSON representation
Playing with React, recoil, Deno and SSE
- Host: GitHub
- URL: https://github.com/chamerling/react-recoil-poc
- Owner: chamerling
- Created: 2021-06-24T12:24:13.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-25T09:38:45.000Z (about 5 years ago)
- Last Synced: 2025-01-30T14:42:38.056Z (over 1 year ago)
- Topics: deno, react, recoiljs, sse
- Language: TypeScript
- Homepage:
- Size: 219 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Recoil + Deno POC
This is a POC using recoiljs and Deno with Server Sent Events showing how easy it is to manage list of users online status.
## Usage
### Backend
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.
### Frontend
1. Install dependencies (first time only)
```
yarn install
```
2. Run
```
yarn start
```
It will start the development server onand serve the React app on `http://localhost:3000`.