Skip to content

gt-webdev/spicy-tomatoes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

spicy-tomatoes

About

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.

Required Software

Get Started

  1. Download or clone this repository
  2. Open the folder in VSCode
  3. Click the 'Go Live' button at the bottom-right to start a live server (ensure you have the live server extension installed for VSCode)

VSCodeGoLive

  1. Follow this tutorial: https://github.com/gt-webdev/spicy-tomatoes/wiki/1.-Intro

How to Use Your Own Firebase Database

  1. Create a new Firebase project
  2. Enable Firestore Database in 'test' mode (this can be found in the 'Build' drop-down on the left side of the interface)
  3. Go back to 'Project Overview' and click 'Add app' to create a new 'Web' app
  4. Copy and paste the firebaseConfig into the dao.js file (replace the current definition of firebaseConfig)
  5. If you receive an 'insufficient permissions' error, check the 'Rules' for your Cloud Firestore instance

Screenshots

Screenshot 2023-02-17 at 7 24 43 PM

Screenshot 2023-02-17 at 7 24 48 PM