Skip to content

Interactive Movie Database app using ReactJS. An API to get information about movies and display them on screen using react components.

Notifications You must be signed in to change notification settings

shubham0794x/MovieDatabase_ReactHook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

forthebadge

Build Status

A Movie Database App using React.js

**This application is to display the list of movies based on the movies searched.

This is a app is useful to understand the React Functional Components, Suspense, Lazy, useEffect and useState Hooks .

The app will be able to search for movies via the OMDB API and render the results to the user. The reason for building the app is just so that we can get a better understanding of using hooks in an application, which helps in understanding the role some of the hooks we will use can play in your own real-world apps. useState is a Hook that allows you to have state variables in functional components. You pass the initial state to this function and it returns a variable with the current state value (not necessarily the initial state) and another function to update this value. Some things are needed before we get into building the apps

Node (≥ 6), A cool Code Editor, An API key from OMDB (You can obtain it here or use mine)

**

Scripts

Install node modules

npm install

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

Deployment 📦

  • Once you have done with your setup and you have successfully completed all steps above, You need to put your website online!

  • Now, we need to generate production build and deploy website.

    • npm run build command will generate the production build.
    • npm run deploy will create another branch called gh-pages and it will push the build files to that branch.
  • The last step in deploying is to enable Github Pages in settings of the repository and select gh-pages branch.

  • Now, your website is successfully deployed and you can visit it at <your-github-username>.github.io.

Technologies used 🛠️

Contributing 💡

If you can help us with these. Please don't hesitate to open an pull request or [issue]

  • Add Podcast Section and Video Section
  • Add tests to automate review.
  • Setup Travis workflow.

About

Interactive Movie Database app using ReactJS. An API to get information about movies and display them on screen using react components.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published