This is a hands-on project from the Udemy course - Beginner React. Create a Movie Web App by Thomas Weibenfalk.
You can see a complete working example here. Or you can run the demo on your local machine, please follow the instructions in Getting Started.
- A Movie App from scratch based on The Movie DB API.
- Focus more on class based components.
- Store data with browser's localStorage.
Check package.json
file for more information.
Follow the instructions below to set up the environment and run this project on your local machine.
- Clone this repository.
# Clone repository
$ git clone https://github.com/Hsins-TIL/udemy_React-Movie-App.git
- Install dependencies via NPM or Yarn
# Install dependencies via npm
$ npm install
# Install dependencies via yarn
$ yarn install
- Run the server.
# Build with webpack
$ npm run build
# Run server
$ npm run server
Deploy to GitHub Page with gh-pages
package. Check Deploment for more information. To deal with the hostname problem, there are two more things to do:
- Change
<Link to='/...' >
to<Link to='/<Repo Name>/...' >
- Change
<Route path='/...'
to<Route exact path='/<Repo Name>/...'
All the notes I took in Markdown (.md) format. You can find them in my Udemy-Notes repository.
Licensed under the MIT License, Copyright © 2019-present Hsins.