Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chuongtrh/inventodis

Demo inventory using Redissearch
https://github.com/chuongtrh/inventodis

expressjs nextjs redissearch socket-io

Last synced: about 2 months ago
JSON representation

Demo inventory using Redissearch

Awesome Lists containing this project

README

        

Build demo Inventodis inspire from https://www.youtube.com/watch?v=kXaSwsneFnY&t=21s

## Teck Stack

- [Riot file cli](https://developer.redis.com/riot/riot-file/index.html)
- [RedisSearch](https://redis.io/docs/stack/search/)
- [Redis-om-node](https://github.com/redis/redis-om-node)
- Expressjs
- Socket.io
- Nextjs

## Architecture

![Architecture](screenshot/04.png)

## Setup

### Client

```sh
yarn
yarn dev
```

### API

Run docker RedisSeach

```sh
make redis
```

Init schema & import

```sh
./loader.sh
```

Generate inventory

```sh
make generate
```

Start server

```sh
yarn local
```

## Screenshots

![List store](screenshot/01.png)

![Inventory](screenshot/02.png)

![](screenshot/03.png)

## Learn from demo

- Using riot file clit to import data to Redis
- RedisSearch
- Redis-om-node
- Socket.io
- Tool [RedisInsight](https://redis.com/redis-enterprise/redis-insight/)
- ...

## Reference

- https://github.com/redis-developer/brewdis