Upstash
console.upstash.com
Upstash Console
Designed for the serverless with per-request pricing and Redis API on durable storage.
Upstash Console
Designed for the serverless with per-request pricing and Redis API on durable storage.
Logging in
Designed for the serverless with per-request pricing and Redis API on durable storage.
Upstash
upstash.com › docs › redis › howto › connectwithupstashredis
Connect with upstash-redis - Upstash Documentation
If you define UPSTASH_REDIS_REST_URL andUPSTASH_REDIS_REST_TOKEN environment variables, you can load them automatically.
Videos
41:48
Learn Redis in 40 Minutes - Upstash Redis - YouTube
02:55
Redis Tutorial: Upstash - YouTube
01:53:00
Build & Deploy a Realtime App that Scales with Upstash Redis, Next.js ...
15:40
Build A Rust-Powered Journaling App (with Upstash Redis) - YouTube
28:25
Building a Cache with Upstash Redis in Next.js - YouTube
Upstash
upstash.com
Upstash: Serverless Data Platform
"The Upstash JS SDK is incredibly easy to use – all I needed to do was run npm install, initialize the Redis instance, and start running redis commands – super simple!"
GitHub
github.com › upstash › redis-js
GitHub - upstash/redis-js: HTTP based Redis Client for Serverless and Edge Functions
import { Redis } from "@upstash/redis" const redis = new Redis({ url: <UPSTASH_REDIS_REST_URL>, token: <UPSTASH_REDIS_REST_TOKEN>, }) // string await redis.set('key', 'value'); let data = await redis.get('key'); console.log(data) await redis.set('key3', 'value3', {ex: 1}); // sorted set await redis.zadd('scores', { score: 1, member: 'team1' }) data = await redis.zrange('scores', 0, 100 ) console.log(data) // list await redis.lpush('elements', 'magnesium') data = await redis.lrange('elements', 0, 100 ) console.log(data) // hash await redis.hset('people', {name: 'joe'}) data = await redis.hget('people', 'name' ) console.log(data) // sets await redis.sadd('animals', 'cat') data = await redis.spop('animals', 1) console.log(data)
Starred by 890 users
Forked by 87 users
Languages TypeScript 99.3% | JavaScript 0.7%
Auth.js
authjs.dev › getting-started › adapters › upstash-redis
Auth.js | Upstash Redis
import { QwikAuth$ } from "@auth/qwik" import { UpstashRedisAdapter } from "@auth/upstash-redis-adapter" import { Redis } from "@upstash/redis" const redis = new Redis({ url: import.meta.env.UPSTASH_REDIS_URL!, token: import.meta.env.UPSTASH_REDIS_TOKEN!, }) export const { onRequest, useSession, useSignIn, useSignOut } = QwikAuth$( () => ({ providers: [], adapter: UpstashRedisAdapter(redis), }) )
Heroku Dev Center
devcenter.heroku.com › articles › upstash-redis
Upstash for Redis
UPSTASH_REDIS_URL: The full Redis URL that includes the password and endpoint.
PyPI
pypi.org › project › upstash-redis
upstash-redis · PyPI
To be able to use upstash-redis, you need to create a database on Upstash and grab UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN from the console.
» pip install upstash-redis
Koyeb
koyeb.com › docs › integrations › databases › upstash
Upstash Redis and Koyeb | Koyeb
The application will use the Express (opens in a new tab) web framework to build and serve a simple page and Upstash's own @upstash/redis (opens in a new tab) package to connect to the database. Create a new directory for your demo application and navigate to the new location: mkdir example-koyeb-upstash cd example-koyeb-upstash