Fireship · @fireship
Angular Firebase CRUD App with NoSQL Database Tutorial
Uploaded April 19, 2017 · Length 4:21
Summary
build a to-do list feature with Angular and Firebase NoSQL database
- angular firebase crud
- firebase nosql database
- angular tutorial
- crud operations
- angular firebase tutorial
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:01
in this episode we're going to build a
- 0:03
to-do list feature that performs the SQL
- 0:06
style crud operations of create read
- 0:08
update and delete no SQL uses different
- 0:11
terms for these operations so here's a
- 0:14
basic translation when working with
- 0:16
Firebase create equals push read equals
- 0:20
list or object update equals update or
- 0:24
set and delete equals
- 0:27
remove angular apps work with
- 0:30
asynchronous data streams using rxjs or
- 0:33
reactive extensions for
- 0:35
JavaScript a data stream can be pretty
- 0:38
much anything but in this context we're
- 0:40
talking about objects from the Firebase
- 0:42
real-time
- 0:45
database at this point it's assumed you
- 0:47
have the angular Fire 2 package
- 0:49
installed and bootstrapped into your app
- 0:51
if not go to the docs or check out our
- 0:54
environment setup
- 0:58
video start by generating the necessary
- 1:01
files from the command line the feature
- 1:03
is just a simple list of to-do items
- 1:05
that could be modified by
- 1:09
users we will give items their own
- 1:11
typescript class to keep our data nice
- 1:13
and
- 1:14
[Music]
- 1:20
organized all the cred magic happens in
- 1:22
the service which is going to perform
- 1:24
six different operations it can get a
- 1:27
list of items get a single item create a
- 1:30
new item update an existing item delete
- 1:33
an existing item and delete an entire
- 1:35
list of
- 1:37
items start by importing dependencies
- 1:41
and declaring a couple public
- 1:44
variables when we get an item or list of
- 1:47
items they will be returned as an
- 1:49
observable which can then be unwrapped
- 1:51
asynchronously from the component the
- 1:53
functions for getting an item or List
- 1:55
will return the observable so it can
- 1:57
then be set to a public variable all


