DEV Community

Cover image for Angular 11 Firestore CRUD example | AngularFireStore
bezkoder
bezkoder

Posted on • Edited on

4 3

Angular 11 Firestore CRUD example | AngularFireStore

In this tutorial, I will show you how to build Angular 11 CRUD App with Firebase Cloud Firestore that uses AngularFireStore service to get/add/update/delete documents in a collection.

Full Article: https://bezkoder.com/angular-11-firestore-crud-angularfirestore/

Angular 11 Firestore CRUD Overview

We’re gonna build an Angular 11 Firestore App using @angular/fire library in which:

Each Tutorial has id, title, description, published status.
We can create, retrieve, update, delete Tutorials.
Here are the screenshots:

– Create a new Tutorial:

Alt Text

Cloud Firestore after the Create Operations:

Alt Text

– Get all Tutorial documents:

Alt Text

– Change status to Published/Pending using Publish/UnPublish button:

Alt Text

– Update the Tutorial details with Update button:

Alt Text

– Delete the Tutorial document using Delete button:

Alt Text

Technology

  • Angular 11
  • firebase 8
  • @angular/fire 6
  • rxjs 6

Project Structure

Alt Text

For more details, implementation and Github, please visit:
https://bezkoder.com/angular-11-firestore-crud-angularfirestore/

Further Reading

Related Posts:

Fullstack CRUD Application:

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay