Giter Club home page Giter Club logo

ably-airtable-starter-kit's Introduction

A fully functional starter kit to store realtime messages from Ably into Airtable via WebHooks

This project shows how to use Airtable to store realtime messages using a group chat app built with Ably Realtime.

Demo home screen

The resulting demo app shows two sections. While one section shows the fully functional live group chat app, the other section shows a play-by-play description of various things happening behind the scenes in each step, along with code snippets to implement that piece of functionality.

For example, it shows when the connection with Ably is successfully set up, when and how many messages were retrieved from the Airtable database, or the live messages pushed by Ably, etc.

Demo chat screen

Any new messages posted to the chat go through a profanity filter, and get automatically published to Airtable's REST API as well via Ably's WebHooks integration.


Live demo

Check out this project in action at https://realtime-chat-storage.ably.dev/

How to run this project locally?

  1. Clone this repo using:
git clone https://github.com/ably-labs/ably-airtable-starter-kit
  1. Change directories into the project using:
cd ably-airtable-starter-kit
  1. Create a new file called .env and add the following:
ABLY_API_KEY=<YOUR-ABLY-API-KEY>
  1. Sign up for a free account with Ably to get your API Key and replace the placeholder <YOUR-ABLY-API-KEY> in step 3 with your Ably API Key.

  2. Install both the NodeJS server and front-end VueJS app dependencies using:

npm install
cd ably-airtable-storage
npm install
cd ..
  1. Run the server using node server.js and open the app in your browser at http://localhost:8082/

The tech stack

Frameworks/ Languages
Libraries

Learn more about the project

Check out my detailed blog post (coming soon...) to understand this project in detail along with ways of extending this project to use other databases or even get realtime updates from Airtable.

Load tests and limits

ably-airtable-starter-kit's People

Contributors

srushtika avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.