Make polls quickly from TMDB(The Movie Database) hosted statically with Github Pages here. Use the inbuilt StrawPoll api or copy paste line-by-line entries and use as you see fit.
Also pulls data from youtube links if desired.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Push the React app to the GitHub repository
$ npm run deploy
That will cause the predeploy
and deploy
scripts defined in package.json
to run.
Under the hood, the predeploy
script will build a distributable version of the React app and store it in a folder named build
. Then, the deploy
script will push the contents of that folder to a new commit on the gh-pages
branch of the GitHub repository, creating that branch if it doesn't already exist.
By default, the new commit on the gh-pages
branch will have a commit message of "Updates". You can specify a custom commit message via the -m
option, like this:
$ npm run deploy -- -m "Deploy React app to GitHub Pages"