It's a responsive web application based on externals APIs, which randomly displays many TV Shows, Actors and Actresses allowing the user to request details of each one through pop-up windows and give them "likes" and comments
First, you need to find an API so you can 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. We recommend that you choose an API 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.
You should build these interfaces:
- The home page.
- The comments popup.
When the page loads, the webapp retrieves data from:
- The selected API and shows the list of items on screen.
- The Involvement API to show the item likes. Remember that your page should make only 2 requests:
- One to the base API.
- And one to the Involvement API. When the user clicks on the Like button of an item, the interaction is recorded in the Involvement API and the screen is updated. When the user clicks on the "Comments" button, the Comments popup appears. Home page header and navigation similar to a given mockup. Home page footer similar to a given mockup.
When the popup loads, the webapp retrieves data from: -The selected API and shows details about the selected item. -The Involvement API to show the item comments. -When the user clicks on the "Comment" button, the data is recorded in the Involvement API and the screen is updated.
The number of items (home). The number of comments (comments popup). Even if the API gives you these numbers, you will create a specific function to calculate these numbers in each page. These count functions need to be covered with unit tests using Jest.
Set up the repository on GitHub and use Gitflow. Set up webpack. Set up a JavaScript testing library (Jest).
- HTML / CSS
- JavaScript: objects, classes and modules with ES6 syntax
- Webpack
- Gitflow
- Jest tests
- External APIs
-
To get a local copy up, clone the repo like this:
git clone https://lucascomamala.github.io/javascript-capstone-project/
-
Install the dependencies using
npm installand then run the project from the root of the folder using this commandnpm run start
- Lucas Comamala (GitHub: https://github.com/lucascomamala)
- Carlos Molina (GitHub: https://github.com/cmolinan)
Contributions, issues, and feature requests are welcome! Feel free to check the issues page. Feel free to check the issues page.
Give a ⭐️ if you like this project!
- This webpage is based on a Microverse request
This project is MIT licensed.