You are tasked with adding persistent data storage to an unfinished todo application using Firebase’s Firestore Database product
1) Download starter code
The starter code for this code along is hosted on Github, see the url below:
2) Create a new Firebase project called doit-app
3) Add a “Firestore Database” to the project and choose the “Start in test mode” option
4) Create a collection named tasks
5) Inside the tasks
collection, create 3 tasks (using the auto generated id for each task document), each task should have the following two property names: name
(string) and completed
(boolean)
Here’s an example of the JSON representation of a task:
{
"some-auto-id": {
"name": "do taxes",
"completed": false
}
}