Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wenyxu/gt-term
Your first Serverless GreptimeDB on Vercel 🤣
https://github.com/wenyxu/gt-term
database greptimedb serverless term terminal time-series vercel
Last synced: 28 days ago
JSON representation
Your first Serverless GreptimeDB on Vercel 🤣
- Host: GitHub
- URL: https://github.com/wenyxu/gt-term
- Owner: WenyXu
- License: mit
- Created: 2023-06-30T12:14:30.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-15T11:52:54.000Z (about 1 year ago)
- Last Synced: 2024-10-16T14:21:49.323Z (3 months ago)
- Topics: database, greptimedb, serverless, term, terminal, time-series, vercel
- Language: TypeScript
- Homepage: https://gt.terminal.im
- Size: 49.5 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# GreptimeDB on vercel 🤣
![screenshot](./docs/screenshot.png)
## Before start
1. Setup a [GreptimeDB Cloud](https://console.greptime.cloud/) Account.
2. Create a free database instance,## Deploy on vercel
1. Fork this project
2. Open [Vercel](https://vercel.com/), and Click `Add New Project`.
3. Select your forked Repo.
4. Fill `.env.example` and copy the file content into `Environment Variables` form.
![screenshot](./docs/vercel.png)
5. Deploy!
## Local playground1. cp `.env.example` `.env`.
2. Copy the connection info from [console](https://console.greptime.cloud/).
```
PGSQL_HOST=
PGSQL_PORT=4003
PGSQL_DATABASE=
PGSQL_USER=
PGSQL_PASSWORD=
```
4. Have fun! `yarn && yarn dev` .