Giter Site home page Giter Site logo

jonathanmunamire / movies-api Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 8.9 MB

This Website is a Movies website, Built from API generated data and an Involvement API to help a user interact with movies of his choice

Home Page: https://jonathanmunamire.github.io/Movies-Api/dist/

License: MIT License

HTML 7.66% JavaScript 72.51% CSS 19.83%

movies-api's Introduction

๐Ÿ“— Table of Contents

๐Ÿ“– [MOVIES]

This JavaScript capstone project is about building web application based on an external API. This project was done in a team of two members. We consumed tmdb api and Invlovement Api, and built a web app consisting two user interfaces.

๐Ÿ›  Built With

Tech Stack

  • JS
  • Webpack
  • HTML & CSS

Key Features

  • User can add likes by clicking the heart icon next to the movie title
  • User can view existing comments and add theirs using the form
  • User can see the most popular movies

๐Ÿš€ Live Demo

Pull Requests

๐Ÿ’ป Getting Started

To get a local copy up and running, follow these steps.

Prerequisites

In order to run this project you need:

  • Basic Knowledge of HTML, CSS, & JavaScript.
  • Basic knowledge of ES6 syntax.
  • Basic knowledge of Git, GitHub &Gitflow.
  • Basic knowledge of Linters.
  • Basic knowledge of Webpack.
  • Basic knowledge of Jest unit-testing library.
  • Basic knowledge of VS Code or any other code-editors.

Setup

Clone this repository to your desired folder:

  cd javascript-capstone
  git clone https://github.com/jonathanmunamire/Movies-Api.git

Install

Install this project with:

  npm install

Usage

To run the project, execute the following command:

  npm run dev

Run tests

To run tests, run the following command:

  npm run test

Deployment

You can deploy this project using:

  npm run deploy

๐Ÿ‘ฅ Authors

๐Ÿ‘ค Author1

๐Ÿ‘ค Author2

๐Ÿ”ญ Future Features

  • Search feature that user will use to navigate through the site
  • Feature to redirect the user to the actual video of the movie
  • User to be able to watch the movies from the site

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

โญ๏ธ Show your support

If you like this project and would like to have us contribute to your project, kindly shoot us a message to our individual handles above.

๐Ÿ™ Acknowledgments

We would like to thank

  • unsplash for providing inspiration behind our background image.
  • canva for the logo.

๐Ÿ“ License

This project is MIT licensed.

movies-api's People

Contributors

jonathanmunamire avatar tamunokuro avatar

Stargazers

 avatar

Watchers

 avatar

movies-api's Issues

Peer to peer code review

Great job so far, but there are a few more things you need to adjust:-

  • On this part ๐Ÿ‘‡, kindly exercise using environment variables to store your API keys. Exposing your keys is considered a security glitch. Here's a step by step material that will help you understand this whole concept.
    const API_KEY = 'OQzrUx0TOY2CTkVMSpNy';

[4.0Pts]Display Comments pop up with selected item's details - Student B

Create a comments popup only with the top section (displaying details of the selected item)
When the popup loads, the web app retrieves data from the selected API and shows details about the selected item.

Add an event to button prepared by your teammate that will open your popup. You need to communicate with your team member to make sure that you do not block each other (most likely the easiest solution is to merge the list of items feature to the dev branch before you try to add that event).

[3.0Pts]Add comments counter - Student B

Even if the API gives you the number of comments you will create a specific function to calculate it.

Make sure that the correct number is displayed on the Comments pop up.

Respect the following rules:

Each counter should be implemented as a separate module.
A counter function should look for specific DOM elements (e.g. for the comments counter it should look for comments) and make the counting based on what is actually displayed on the page.
A counter function should cover all the edge cases you can think about.

[4.0Pts]Display list of items on the Homepage - Student A

Create the main part of the homepage that keeps the layout from the wireframe
When the page loads, the web app retrieves data from the selected API and shows the list of items on the screen with the basic data (e.g. title + image).

Prepare also "Comments" and "Reservations" buttons. They should be doing nothing - just being displayed.

This task does not include displaying the number of likes for each item.

This task does not include the counter of the items.

[3.0Pts]Add all items counter on the Homepage - Student A

Even if the API gives you the number of items, you will create a specific function to calculate it.

Make sure that the correct number is displayed on the Homepage.

Respect the following rules:

Each counter should be implemented as a separate module.
A counter function should look for specific DOM elements (e.g. for the comments counter it should look for comments) and make the counting based on what is actually displayed on the page.
A counter function should cover all the edge cases you can think about.

[0.5Pts]Find external API - group task

Find an API to base the development of the webapp around it. The API should allow you to

Get a list of items with a unique item id (or generate the unique id).
For a given item, get detailed information about it.
choose an APIs that doesn't need authentication. if you select an API that requires authentication, you should implement it on your own. Also, if you select an API that provides image resources your webapp will be more visual.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.