Platform where users can watch youtube videos while on a video chat. Basically a digital party where users can enjoy watching videos together. Separated by distance, brought together by WatchYaari.
Here's a short video that explains the project and how it uses Redis:
Used RedisJSON for saving JSON data in Redis with the help of redis-om nodejs library.
Used RedisSearch to query data stored in Redis with the help of redis-om nodejs library.
-
Changed MongoDB ObjectId dependecies to RedisJSON entityId
-
Changed Mongoose models to RedisJSON schema
-
Changed queries
-
Node - v14.16.0
-
Angular: 9.1.9
-
Angular CLI: 9.1.4
-
NPM - v8.3.0
-
Redisstack server
-
Not in scope
- Coturn server - Free open source implementation of TURN and STUN server in case if peer-to-peer connection between clients is not established.
- Navigate inside /client & run npm i to install dependencies.
- Run ng serve inside /client to run the Client App.
- Check if Client app is up & running by accessing http://localhost:4200, You should be able to see app home page.
- Install nodemon globally for running nodejs server - npm i -g nodemon.
- Navigate inside /server & run npm i to install dependencies.
- Run nodemon inside /server to run the Express.js server.
- Check if Server app is up & running by accessing http://localhost:3000, You should see All set!. response.
- Run the [GET] http://localhost:3000/common/restoreData API from browser/curl/postman to restore necessary data into RedisJSON.
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.
- Sign up for a free Redis Cloud account using this link and use the Redis Stack database in the cloud.
- Based on the language/framework you want to use, you will find the following client libraries:
- Redis OM .NET (C#)
- Watch this getting started video
- Follow this getting started guide
- Redis OM Node (JS)
- Watch this getting started video
- Follow this getting started guide
- Redis OM Python
- Watch this getting started video
- Follow this getting started guide
- Redis OM Spring (Java)
- Watch this getting started video
- Follow this getting started guide
- Redis OM .NET (C#)
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:
- Developer Hub - The main developer page for Redis, where you can find information on building using Redis with sample projects, guides, and tutorials.
- 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.
- Redis Rediscover - Provides use-cases for Redis as well as real-world examples and educational material
- 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
- Youtube Videos
- Official Redis Youtube channel
- Redis Stack videos - Help you get started modeling data, using Redis OM, and exploring Redis Stack
- Redis Stack Real-Time Stock App from Ahmad Bazzi
- Build a Fullstack Next.js app with Fireship.io
- Microservices with Redis Course by Scalable Scripts on freeCodeCamp