Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 🤣

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 playground

1. 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` .