mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-15 05:25:33 -04:00
move database from postgres/prisma to redis ⚡️
This commit is contained in:
11
.env.example
11
.env.example
@@ -1,8 +1,9 @@
|
||||
# required. storage for hit counter's server component at app/notes/[slug]/counter.tsx and API endpoint at /api/hits.
|
||||
# currently set automatically by Vercel's Neon integration, but this can be changed in prisma/schema.prisma.
|
||||
# https://www.prisma.io/docs/postgres/overview
|
||||
# https://vercel.com/marketplace/neon
|
||||
DATABASE_URL=
|
||||
# required. redis storage credentials for hit counter's server component (app/notes/[slug]/counter.tsx) and API
|
||||
# endpoint. currently set automatically by Vercel's Upstash integration.
|
||||
# https://upstash.com/docs/redis/sdks/ts/getstarted
|
||||
# https://vercel.com/marketplace/upstash
|
||||
KV_REST_API_URL=
|
||||
KV_REST_API_TOKEN=
|
||||
|
||||
# required. used for /projects grid, built with ISR. only needs the "public_repo" scope since we don't need/want to
|
||||
# showcase any private repositories, obviously.
|
||||
|
Reference in New Issue
Block a user