Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pyrossh/react-streaming-neon
React Streaming + NeonDB (Serverless Postgres)
https://github.com/pyrossh/react-streaming-neon
Last synced: 20 days 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-07T16:20:34.000Z (over 1 year ago)
- Last Synced: 2024-11-10T00:44:38.879Z (3 months 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