Skip to content

Commit 07e4bcd

Browse files
authored
INT: update Redis OM Node.js page per #1952 (#1977)
1 parent d3a77bc commit 07e4bcd

File tree

1 file changed

+15
-5
lines changed
  • content/integrate/redisom-for-node-js

1 file changed

+15
-5
lines changed

content/integrate/redisom-for-node-js/_index.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,31 @@ type: integration
1616
weight: 9
1717
---
1818

19-
This tutorial will show you how to build an API using Node.js and Redis Stack.
19+
This tutorial will show you how to build a simple, RESTful API that reads, writes, and finds data on persons (including first name, last name, and age) using Node.js and Redis Stack. You'll also add a simple location tracking feature for a bit of extra interest. You'll be using [Express](https://expressjs.com/) and [Redis OM](https://github.com/redis/redis-om-node) to do this.
2020

21-
We'll be using [Express](https://expressjs.com/) and [Redis OM](https://github.com/redis/redis-om-node) to do this, and we assume that you have a basic understanding of Express.
21+
## What is Redis OM?
2222

23-
The API we'll be building is a simple and relatively RESTful API that reads, writes, and finds data on persons: first name, last name, age, etc. We'll also add a simple location tracking feature just for a bit of extra interest.
23+
Redis OM is an object-mapping library that provides high-level abstractions for working with Redis as a document database. You can use Redis OM to map Redis data types,specifically Hashes and JSON documents, to objects in your preferred programming language.
2424

25-
But before we start with the coding, let's start with a description of what Redis OM *is*.
25+
Redis OM leverages the JSON and Redis Query Engine features included in Redis Stack, enabling you to:
2626

27+
- **Model your data** as objects with schemas and validation
28+
- **Store and retrieve** complex data structures seamlessly
29+
- **Search and query** your data using full-text search, numeric ranges, and geospatial queries
30+
- **Index your data** automatically for optimal query performance
31+
32+
With Redis OM, you work with familiar object-oriented patterns while Redis Stack handles the underlying data storage, indexing, and querying efficiently.
33+
34+
{{< note >}}
35+
Redis Stack was replaced by Redis Open Source as of version 8.0.
36+
{{< /note >}}
2737

2838
## Prerequisites
2939

3040
Like anything software-related, you need to have some dependencies installed before you can get started:
3141

3242
- [Node.js 14.8+](https://nodejs.org/en/): In this tutorial, we're using JavaScript's top-level `await` feature which was introduced in Node 14.8. So, make sure you are using that version or later.
33-
- [Redis Stack](/download): You need a version of Redis Stack, either running locally on your machine or [in the cloud](https://redis.com/try-free/?utm_source=redisio&utm_medium=referral&utm_campaign=2023-09-try_free&utm_content=cu-redis_cloud_users).
43+
- [Redis Stack]({{< relref "/operate/oss_and_stack/install/archive/install-stack/" >}}): You need a version of Redis Stack, either running locally on your machine or [in the cloud](https://redis.com/try-free/?utm_source=redisio&utm_medium=referral&utm_campaign=2023-09-try_free&utm_content=cu-redis_cloud_users).
3444
- [Redis Insight](https://redis.com/redis-enterprise/redis-insight/): We'll use this to look inside Redis and make sure our code is doing what we think it's doing.
3545

3646

0 commit comments

Comments
 (0)