To many, the social media experience has become a stressful experience. Newsfeeds have become pinboards for sponsored content. Statuses, comments, and any online interactions expose users to restless keyboard warriors. Some might say that social media has become anything but social.
Now as the kingpins of social media continue to dither, this Launchpad App has tackled this issue head-on by creating its very own social media platform, Letus. The core value of this app is to provide users with a social media platform that promotes more natural and meaningful interactions between friends, family, and work colleagues.
From start to finish, this application relies on the power, speed and flexibility of RedisGraph. Let’s take a look at how this app was created.
But before we dive in, make sure to have a browse around the Redis Launchpad to discover a range of exciting applications for you to get involved in.
You’ll build a social media platform that shields users from trolls and liberates them from sponsored content. This mobile application will only display posts that are made by your friends, family, or whoever you connect with on Letus.
There won’t be any mysterious algorithm that exposes you to unwanted connections and advertisements. Instead, Letus will give you full control over the content you’ll see. Below we’ll go through A-Z of what actions you need to take to bring this application to life, along with the required components.
RedisGraph: used to sparse matrices to represent the adjacency matrix in graphs and linear algebra to query the graph.
Google Cloud Platform (GCP): used as a public cloud vendor that classifies text and analyzes sentiments in this project.
Azure Functions: used as a serverless solution to write less code, maintain infrastructure, and save on costs.
Google Identity: used as a customer identity and access management (CIAM) platform that authenticates users via web-based Oauth 2.0.
Expo: Used by Mobile developers to build apps
Firebase: Backend as a Service
Node modules with config plugins can be added to the project’s Expo config automatically by using the expo install command
For local development, RedisGraph can be run using the redismod Docker container
You can run just the Expo Go App locally to use, and develop, the react native app. By accessing existing (free) firebase auth and existing (free) Azure functions deployed for DEV only.
|Developer tools running on http://localhost:19002|
Opening developer tools in the browser…
Starting Metro Bundler
Metro waiting on exp://192.168.1.9:19000
Press i to launch an iOS simulator or a for Android. (note: Android simulator requires Android Studio and sdk setup)
This project uses Azure Functions which can be accessed directly in your local development. If you wish to publish these functions to the cloud, you must create your own Azure account. Tip: There is a very useful VS Code Extension to help manage your azure projects and functions.
Click https://redis.com/try-free/ and setup Redis Enterprise cloud database with RedisGraph as shown below:
Note: single-direction :friended relationships determine pending friend requests
Using the free tier of GCP Natural Language, we apply both sentiment analysis and text classification to all posts made in the system.
As social media continues to intertwine itself into everyday life, trolling remains as pervasive as ever. Facebook, Twitter, Instagram, and even Linkedin have become hunting grounds for restless keyboard warriors.
Then you have the endless bombardment of sponsored content, whose interests are prioritized ahead of the user’s. But by using Redis, this marketplace app was able to create a social media platform for mobile users that removes both of these hazards.
The power and speed of RedisGraph was crucial to building Letus since it allowed the application to query data with maximum efficiency. From what began as just a simple idea, Redis was able to bring this application to life… but that’s not all.
Every day people are tapping into the wonders of Redis to create exciting applications that’s having an impact on everyday lives. How can you use Redis to help change society for the better?
Matt has over 20 years of experience in web development and is now the principal engineer for Games24x7.
Make sure to keep to date with all of Matt’s projects on Github by checking out his page here.
By continuing to use this site, you consent to our updated privacy agreement. You can change your cookie settings at any time but parts of our site will not function correctly without them.