Coder Social home page Coder Social logo

bezkoder / angular-13-firestore-crud Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 7.0 142 KB

Angular 13 Firestore CRUD example - Firebase Firestore get/update/delete documents in collection using AngularFireStore

JavaScript 7.30% TypeScript 72.31% CSS 1.56% HTML 18.83%
angular angular13 firebase firestore angularfire angularfirestore firebase-firestore firestore-database firestore-crud crud crud-application crud-sample crud-operation

angular-13-firestore-crud's Introduction

Angular 13 Firestore CRUD App with AngularFireStore

Build Angular 13 CRUD App with Firebase Firestore that uses AngularFireStore service.

  • Each Tutorial has key, title, description, published status.
  • We can make CRUD operations: create, retrieve, update, delete Tutorials.

angular-13-firestore-crud-example

For more detail, please visit:

Angular 13 Firestore CRUD example with AngularFireStore

More Practice:

Angular Firebase CRUD with Realtime DataBase | AngularFireDatabase

Angular Firebase Storage: File Upload/Display/Delete example

Angular CRUD Application example with Web API

Angular Form Validation example (Reactive Forms)

Fullstack with Node Express:

Angular + Node Express + MySQL example

Angular + Node Express + PostgreSQL example

Angular + Node Express + MongoDB example

Fullstack with Spring Boot:

Angular + Spring Boot + H2 Embedded Database example

Angular + Spring Boot + MySQL example

Angular + Spring Boot + PostgreSQL example

Angular + Spring Boot + MongoDB example

Fullstack with Django:

Angular + Django Rest Framework

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

angular-13-firestore-crud's People

Contributors

tienbku avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

angular-13-firestore-crud's Issues

Angular 13 Firebase tutorial

Thank you for generating this excellent tutorial. I am having one issue getting started and I was curious if you knew why.

In tutorial-list.component I'm getting the following error in retrieveposts()

retrieveposts(): void {
this.PostService.getAll().snapshotChanges().pipe(
map(changes =>
changes.map(c =>
({ id: c.payload.doc.id, ...c.payload.doc.data() }) <-TS2339: Property 'id' does not exist on type 'QueryDocumentSnapshot'.
)
)
).subscribe(data => {
this.posts = data;
});
}

I was curious if this was because I dont currently have any posts in my firestore, or if there could be another issue in this file. Note I relabeled everything that has "tutorial" in it to "post".

Thank you again for such a great tutorial and Happy New Year.

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.