-
Notifications
You must be signed in to change notification settings - Fork 0
Home
- NodeJS & npm - Download & Install NodeJS & npm
- Git - Download & Install Git. OSX and Linux machines typically have this already installed.
Once you clone this repository, run npm install
to download all the required plugins
- Go to the Firebase Console
- Create a new project
- Go to the Firestore Database tab under "Build"
- Click "Create Database"
- Click on "Start in Production Mode"
- Select the location of your Database. This should preferably be the location closest to you
- After that, go to the "Project Overview"
- Click on "Web"
- Select a name for your project
- Firebase will show you your keys for the database, copy the firebase config constant:
const firebaseConfig = {
apiKey: "key",
authDomain: "domain",
projectId: "id",
storageBucket: "bucket",
messagingSenderId: "senderId",
appId: "appId"
};
- Create an account on the Official TMDb website
- Confirm your email address
- Once you are logged in, go to the Create an API Key Tab found in your settings
- Choose what API you want to register
- I sincerely suggest you read the Terms of Use
- Accept the Terms of Use
- Fill out the form (just remember that you shall not conceal your identity, as you have accepted in the Terms of Use)
- Copy the API Key (v3 auth)
- Clone this repository
- In the root of this repository, create a new file named
.env
- In the file, add these keywords:
REACT_APP_VERSION=$npm_package_version
REACT_APP_API_KEY=''
REACT_APP_AUTH_DOMAIN=''
REACT_APP_PROJECT_ID=''
REACT_APP_STORAGE_BUCKET=''
REACT_APP_MESSAGING_SENDER_ID=''
REACT_APP_APP_ID=''
REACT_APP_MEASUREMENT_ID=''
REACT_APP_TMDB_API_KEY=''
REACT_APP_VERSION
: Do not modify.
REACT_APP_API_KEY
: Add your firestore database API key in between the apostrophes
REACT_APP_AUTH_DOMAIN
: Add your firestore auth domain in between the apostrophes
REACT_APP_PROJECT_ID
: Add your firebase project ID in between the apostrophes
REACT_APP_STORAGE_BUCKET
: Add your firestore storage bucket in between the apostrophes
REACT_APP_MESSAGING_SENDER_ID
: Add your firestore messaging sender ID in between the apostrophes
REACT_APP_APP_ID
: Add your firestore app ID in between the apostrophes
REACT_APP_MEASUREMENT_ID
: Add your firestore measurement ID in between the apostrophes
You can find all of the above in the firebase config you copied when creating the firestore database
REACT_APP_TMDB_API_KEY
: Add your TMDb API key (v3 auth) in between the apostrophes