Skip to content

pavelee/stoa-redis-stack

Repository files navigation

Stoa

Stoa is a small forum app. The inspiration is a need of minimalistic internal forum for organizations. Designed to look like a typical social media app.

The main purpose of the project is to test redis as main database. I am using redisJSON to store documents and RediSearch to perform searches.

Stack:

  • Typescript
  • Next.js
  • tailwindcss
  • Redis stack

How it works

How the data is stored:

Data is stored as documents using redisJSON

How the data is accessed:

Data is accesed through redis-om-node

How to run it locally?

You can run it loccaly using docker.

Prerequisites

  • Docker

Local installation

Run containers

docker-compose up -d

Acess app in the borwser

http://localhost:3000

More Information about Redis Stack

Here some resources to help you quickly get started using Redis Stack. If you still have questions, feel free to ask them in the Redis Discord or on Twitter.

Getting Started

  1. Sign up for a free Redis Cloud account using this link and use the Redis Stack database in the cloud.
  2. Based on the language/framework you want to use, you will find the following client libraries:

The above videos and guides should be enough to get you started in your desired language/framework. From there you can expand and develop your app. Use the resources below to help guide you further:

  1. Developer Hub - The main developer page for Redis, where you can find information on building using Redis with sample projects, guides, and tutorials.
  2. Redis Stack getting started page - Lists all the Redis Stack features. From there you can find relevant docs and tutorials for all the capabilities of Redis Stack.
  3. Redis Rediscover - Provides use-cases for Redis as well as real-world examples and educational material
  4. RedisInsight - Desktop GUI tool - Use this to connect to Redis to visually see the data. It also has a CLI inside it that lets you send Redis CLI commands. It also has a profiler so you can see commands that are run on your Redis instance in real-time
  5. Youtube Videos

About

Share your ideas among community

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published