For Firebase skills we will GitHub Codespaces or VS Code
Your teacher will give you a link to the GitHub Classroom assignment based on this repository
Learning goal - We are learning how to:
Set up a Firebase database
By the end of this topic you will have:
A working firebase database!
Rules set for testing
Mr Britton added as an editor
Learning goal - We are learning how to:
Connect to Firebase with JavaScript
By the end of this topic you will have:
Seen your firebase database change when you press a button
Learning goal - We are learning how to:
Use our first Firebase call to write simple message to the database
By the end of this topic you will have:
Change the message that gets written to the database to "Kia ora"
Added another JavaScript function named "goodbye" to write another message ("Ka kite ano") to the database
Added another button ("Goodbye") to the webpage
Learning goal - We are learning how to:
read a simple message from Firebase
Error handling with callbacks
By the end of this topic you will have:
Added a button to read from the database
Added another button to read safely from the database
It will have:
A null check
error handling
Tested your buttons thoroughly
Learning goal - We are learning how to:
read with a listener
Turn the listener off
By the end of this topic you will have:
Added a button to set up a read listener
Tested it thoroughly
Learning goal - We are learning how to:
Read and display complex data
Use JavaScript objects
By the end of this topic you will have:
Learning goal - We are learning how to:
Put all these skills together
By the end of this topic you will have:
A working website that harvests data and generates marketing emails!
There will be a classroom assignment based on this repo
Here's an example of what you could do.