npx create-next-app@latest --ts
.
Then install the required packages
@upstash/redis
with any kind of database client you want.
/pages/api/cron.ts
QSTASH_CURRENT_SIGNING_KEY
and QSTASH_NEXT_SIGNING_KEY
to vercel’s
environment variables. UPSTASH_REDIS_REST_URL
and UPSTASH_REDIS_REST_TOKEN
to vercel.
In the near future we will update our
Vercel integration to do this for
you.
npx vercel --prod
or in the UI.