https://github.com/pyrossh/react-streaming-neon
React Streaming + NeonDB (Serverless Postgres)
https://github.com/pyrossh/react-streaming-neon
Last synced: about 1 year ago
JSON representation
React Streaming + NeonDB (Serverless Postgres)
- Host: GitHub
- URL: https://github.com/pyrossh/react-streaming-neon
- Owner: pyrossh
- Created: 2023-05-07T16:19:45.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-07T16:20:34.000Z (about 3 years ago)
- Last Synced: 2025-01-06T03:21:50.961Z (over 1 year ago)
- Language: JavaScript
- Size: 166 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# React Streaming + NeonDB (Serverless Postgres)
This is a sample application todo application which integrates all these frameworks,
1. vite
2. vite-plugin-ssr
3. telefunc
4. neon (serverless postgress)
5. react (Streaming + Suspense)
6. blueprintjs (UI library)
This is a modified version of this [example](https://github.com/brillout/telefunc/tree/main/examples/react-streaming) from the telefunc repo
## Requirements
1. node >= v18.14.2
2. npm >= 8.15.0
## Installing
```sh
npm i
```
## Running
Add your postgres connection url in a `.env` file at the root,
```sh
PG_CONN_URL='postgres://user:pass@hostname/dbname'
```
Run the migration script
```sh
npm run setup
```
Start the dev server
```sh
npm run dev
```
## Screenshots
