视频

了解更多
Redis 社区一直是 Redis 卓越的核心所在。5 次连续荣膺 Stack Overflow 开发人员调查 中最受喜爱数据库,归功于该群体。随着 Redis 的受欢迎程度不断提高,跨开发人员社区、垂直行业和地域的用例也在不断增长。
我们怀着对社区的热爱,梦想创造出Redis Launchpad,我们的单一愿景是增强、发展并掌控 Redis 的强大功能。今天,我们很高兴地介绍 Redis Launchpad,这是由我们和您在 Redis 上构建的 75+ 个示例应用程序的中心。Redis Launchpad 为开发人员和架构师提供了一种简单、切实的方法来查找和可视化众多以 Redis 为实时数据平台和主数据库的示例应用,所有这些应用都在一个中心位置。在这里,您可以深入研究展示了不同的架构、数据建模、数据存储和命令的高质量示例应用,让您能够更快地构建立快速应用。
这些应用使用各种语言(JavaScript、Java、Python 等),迎合不同的行业垂直领域(金融服务、游戏、零售等),使用不同的 Redis 模块(RedisJSON、RediSearch 等),并展示了不同的能力。您甚至可以深入钻取并搜索各个命令,以了解如何在不同的应用和不同的语言中使用它们!
好吧,很简单,进入 https://launchpad.redis.com,根据各种标准搜索任何应用。点击该应用,您应该会看到一个视频和关于如何构建和使用该应用的详细说明。其中包括诸如数据建模、用于添加数据的命令以及用于检索数据的命令等内容。
此外,在某些应用中,您准备好使用部署按钮。因此,您可以快速将它部署到 Heroku、Vercel、Google Cloud 等。
正如他们所说,我们喜欢喝我们自己的香槟。我们很高兴能够使用自己的产品,并展示 Redis 超越缓存的强大功能。
让我们了解一下我们如何构建它以及它是如何工作的技术方面。
我们目前使用 Redis 哈希来存储应用的元数据,并使用 RediSearch对它进行索引。然后剩下的所有内容——左侧窗格过滤器、模糊搜索、应用库和分页——都完全由 RediSearch 支持!
为了使 Github 仓库成为 Launchpad 的一部分,您需要首先使它成为 redis-developer Github 账户的一部分。其次,还需要一个“marketplace.json”元数据文件。此文件描述了关于该应用的一切,包括该应用的名称、说明、所使用的编程语言、视频、命令等。此文件的内容是唯一被添加到 Redis 数据库中以供搜索和筛选用途的内容。
以下是如何使它的其余部分工作的
一旦我们将数据放入数据库,下一步就是对其进行查询并将结果显示在浏览器中。它的工作方式如下
我们非常希望你将你的应用添加到 Launchpad 中。我们还很乐意在社交媒体上逐个案例地推广你的应用。第一个要求是你的应用应基于 Redis 构建,并使用 Redis 作为主要数据库。其次,你应该为我们提供清晰且详细的说明,以便我们进行质量保证,并且社区能够轻松理解它的工作方式。
一旦你认为已满足这些要求,请遵循以下说明来添加元数据文件并告知我们
此文件包含你的应用元数据。有关最新详情,请点击 Launchpad 中的“Add your app(添加你的应用)”按钮。但以下是截至撰写本文时的详情
示例 metadata.json
{
"app_name": "Basic Redis caching example in Nodejs", //Name of the app
"description": "Showcases how to implement caching in NodeJS", // One line description
"hidden": false, // Can be "true" or "false". If true, this app won't show up in the Launchpad.
"rank": 20, // This is used to sort the apps in the Launchpad. 1 to 20 are reserved. Enter greater than 20
"type": "Building Block", //Can be "Building Block" or "Full App"
"contributed_by": "Redis", // Can be "Redis" or "Community" or "Partner"
"repo_url": "https://github.com/redis-developer/basic-caching-demo-nodejs", //This is the Github Repo's URL.
"download_url": "https://github.com/redis-developer/basic-caching-demo-nodejs/archive/main.zip",
"hosted_url": "", //The URL of the app. if you are hosting this app somewhere
"quick_deploy": "true", //"true" if the project has Heroku, Vercel, Google deploy buttons
"deploy_buttons": [
{
"heroku": "https://heroku.com/deploy?template=https://github.com/redis-developer/basic-caching-demo-nodejs" //Deploy button URL for deploying on Heroku
},
{
"vercel": "https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2Fredis-developer%2Fbasic-caching-demo-nodejs&env=REDIS_ENDPOINT_URI,REDIS_PASSWORD&envDescription=REDIS_ENDPOINT_URI%20is%20required%20at%20least%20to%20connect%20to%20Redis%20clouding%20server" //Deploy button URL for deploying on Vercel
},
{
"Google": "https://deploy.cloud.run/?git_repo=https://github.com/redis-developer/basic-caching-demo-nodejs.git" //Deploy button URL for deploying on Google cloud.
}
],
"language": ["JavaScript"], // Backend technologies: "JavaScript", "Java", "Python", "Go", "C#", "Ruby", "PHP", etc.
"redis_commands": ["SETEX"], // Enter all the Redis commands
"redis_features": ["caching"],// Enter any core Redis feature or leave it blank.
"redis_modules": [], //Value can be one or more of "RediJSON", "RediSearch", "RedisTimeseries", "RedisAI" "RedisGears" or "RedisGraph" listed in an array.
"app_image_urls": [
"https://github.com/redis-developer/basic-caching-demo-nodejs/blob/main/docs/screenshot001.png?raw=true"
], // Provide any image urls in an array.
"youtube_url": "", //Provide a Youtube link to your app's video
"special_tags": [], // "Hackathon", "Paid", or any event names.
"verticals": ["Healthcare", "Financial"], // Can be: "Healthcare", "Financial", "Tourism", "Retail", "Oil & Gas", "Manufacturing", "Technology","Education", "Construction"
"markdown": "https://raw.githubusercontent.com/redislabs-training/redis-sitesearch/master/README.md" // Link to the RAW Markdown.
}
我们非常高兴推出这项服务。Redis 非常通用,而 Redis Launchpad 现在将确切地展示如何利用 Redis 的强大功能将它用作实时数据平台和主要数据库。
查看它,并通过在社交媒体上标记 @redisinc 来告诉我们你的想法。🚀