Skip to content

HorrorInfo: A web application about horror movies created without a framework and unnecessary libraries - vanille JavaScript.

License

Notifications You must be signed in to change notification settings

veerleprins/HorrorInfo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HorrorInfo:

Mockup-AppleScreen

✒️ Short Description

For the Web Apps from Scratch course within the Minor Web Design & Development (@cmda-minor-web) we learn about Designing and Developing web applications from scratch without using frameworks or unnecessary libraries.

This repository shows a web application about movies with the API from The Movie DB. It is not necessary to have an account to view this application.

Table of contents:

🔸 Feature

With Horror Info you can find information about a specific horror movie. There are horror movies to discover, but you can also search for a horror movie using the search bar. You can also see the number of votings, which is the average, but especially very important: Where you can watch this film in corona time.

📖 Diagrams

Actor diagram

The Actor diagram of my code.

Interaction diagram

The Interaction diagram of my code.

🔗 API

The API that was used is the API supplied by The Movie DB. These are public APIs and can be found at the link below:

https://developers.themoviedb.org/3/

This has been my 'standard' endpoint to which several parameters have been added to retrieve the data. The parameters below were used to obtain the various information:

  • discover/movie
  • movie/${movieID}
  • movie/${movieID}/recommendations
  • movie/${movieID}/watch/providers
  • search/movie

Based on these parameters, it can be seen that I show discovery movies, a specific movie, recommended movies based on a specific movie, the places where this specific movie can be viewed and the user can search for movies.

⬇️ Install

1. Install npm 💻

Before getting started, you need to install nvm. nvm can be installed by typing the following line of code in terminal and pressing enter:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh

If nvm has been successfully installed, you can check the version by typing the following line of code in the terminal and pressing enter:

nvm --version

2. 📂 Clone folder

Then you need to download this project and open it with your code editor. To do this, open your terminal with the correct path in which you want this repository. Example:

cd/Desktop/Repos

Then type the following line of code into your terminal:

git clone https://github.com/veerleprins/HorrorInfo.git

With this line of code, you've successfully downloaded the repository to your desired location.

3. Install all the packages 📑

Then type the code below into your terminal:

npm i

With this line of code, you download all the packages you need for this repo.

4. ✅ Start and run the code

Go to the repository in the terminal and add the following line of code below:

npm run dev

Now you can open http://localhost:1234/ in your browser to view the web application! 🙌

🌐 Deploy

My web application can be found at the link below:
https://veerleprins-wafs-movies.netlify.app

🔹 Future features

As a future vision I would like to expand this application so that the user can create his own profile and save movies in lists. I would also like to add that the user can filter for films based on actors who may or may not play in the movie.

📚 Sources

The sources I've used to create this web application:

🔒 License

This repo is licensed as MIT by ©️ Veerle Prins, 2020

About

HorrorInfo: A web application about horror movies created without a framework and unnecessary libraries - vanille JavaScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 62.5%
  • CSS 36.7%
  • HTML 0.8%