1
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:
2025-03-27 09:21:22 -04:00
parent e865d9d8e5
commit bbf6e9dc66
16 changed files with 283 additions and 651 deletions

View File

@@ -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.