视频

了解更多
Redis 社区一直是 Redis 伟大的核心。感谢这个群体,Redis 连续第五次被评为 Stack Overflow 开发者调查中最受欢迎的数据库。随着 Redis 的普及,开发人员社区、行业垂直领域和地理区域的使用案例也在不断增长。
通过 单一愿景增强、发展和利用 Redis 的力量,并热爱我们的社区,这就是我们梦想 Redis Launchpad 的原因。今天,我们很高兴推出 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 中的“添加您的应用”按钮。 但以下是撰写本文时的详细信息
示例 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 让我们知道您的想法。 🚀