Companion project for Building a Real-Time Collaborative Editor with Angular, Firebase, and WebRTC.
- Node.js 24+
- A Firebase project with Anonymous Authentication and Cloud Firestore enabled
- Copy
.env.examplevalues intosrc/environments/environment.ts(or paste your Firebase web app config directly). - Install dependencies:
npm install --legacy-peer-deps- In the Firebase console, enable Anonymous sign-in and create a Firestore database.
npm startOpen http://localhost:4200 in two tabs or browsers to test real-time Firestore sync.
The project includes a WebrtcService and Firestore-based signaling scaffold matching the blog post. Peer connection wiring is a starting point for extending the tutorial.
https://omid.dev/2024/06/24/realtime-collaborative-editor-with-angular-firebase-webrtc/