Company
Date Published
Author
Tom Camp
Word count
5858
Language
English
Hacker News points
9

Summary

Creating realtime experiences in e-commerce with Fauna and Ably`, a tutorial on building a real-time e-commerce website using Fauna and Ably, covers the key points of how to create a serverless database for storing product data, use a pub/sub solution for real-time updates between clients and servers, and authenticate users securely. The tutorial starts by setting up Fauna and Ably accounts, then creates an express.js server that interacts with these systems. It then sets up a client-side application using HTML, CSS, and JavaScript to display the products and allow users to log in and out. Finally, it adds functionality for users to view their orders in real-time, using Fauna's Event Streaming feature. The tutorial concludes by highlighting the core building blocks of a real-time e-commerce website and encouraging readers to explore more advanced topics related to globally distributed systems and serverless databases.