Tutorial on how to create a website to post reviews for movies.
The completed code can be seen in the 'complete' branch. The 'main' branch contains the starter code for the tutorial.
- Download or clone this repository
- Open the folder in VSCode
- Click the 'Go Live' button at the bottom-right to start a live server (ensure you have the live server extension installed for VSCode)
- Follow this tutorial: https://github.com/gt-webdev/spicy-tomatoes/wiki/1.-Intro
- Create a new Firebase project
- Enable Firestore Database in 'test' mode (this can be found in the 'Build' drop-down on the left side of the interface)
- Go back to 'Project Overview' and click 'Add app' to create a new 'Web' app
- Copy and paste the firebaseConfig into the
dao.js
file (replace the current definition of firebaseConfig) - If you receive an 'insufficient permissions' error, check the 'Rules' for your Cloud Firestore instance