Building a Serverless Notification API for Your Web Application with Redis

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • redis-examples

    Discontinued Sample applications implemented with serverless Redis

    Check out the code here.

  • React

    The library for web and native user interfaces.

    import logo from './logo.svg'; import './App.css'; import {ToastContainer, toast} from 'react-toastify'; import 'react-toastify/dist/ReactToastify.css'; import {useEffect} from "react"; function App() { useEffect(() => { async function fetchData() { try { let version = localStorage.getItem("notification-version"); version = version ? version : 0; const response = await fetch("REPLACE_UPSTASH_REDIS_REST_URL/zrevrangebyscore/messages/+inf/" + version + "/WITHSCORES/LIMIT/0/1", { headers: { Authorization: "Bearer REPLACE_UPSTASH_REDIS_REST_TOKEN" } }); const res = await response.json(); const v = parseInt(res.result[1]); if (v) { localStorage.setItem("notification-version", v + 1) } toast(res.result[0]); } catch (e) { console.error(e); } }; fetchData(); }); return (

    logo

    Edit src/App.js and save to reload.

    Learn React
    ); } export default App;

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts