https://github.com/german-cobian/tv-shows-api
This Javascript app fetches and posts info from/into two different APIs regarding TV shows. It displays a listing of those that match the search criteria, with their name, image and number of likes received. The user can then select a show to get more info on it (including comments posted by other users), post a like or post a comment.
https://github.com/german-cobian/tv-shows-api
css3 html javascript webpack
Last synced: 3 months ago
JSON representation
This Javascript app fetches and posts info from/into two different APIs regarding TV shows. It displays a listing of those that match the search criteria, with their name, image and number of likes received. The user can then select a show to get more info on it (including comments posted by other users), post a like or post a comment.
- Host: GitHub
- URL: https://github.com/german-cobian/tv-shows-api
- Owner: German-Cobian
- License: mit
- Created: 2023-07-10T02:13:13.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-04T23:20:01.000Z (almost 3 years ago)
- Last Synced: 2025-01-23T09:15:28.492Z (over 1 year ago)
- Topics: css3, html, javascript, webpack
- Language: JavaScript
- Homepage:
- Size: 10.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
git add .

# Tv-Shows-Api
This Javascript app fetches Tv-shows from the TvMaze API.
From the home page the user can input a term related to the Tv-show that they are searching for (could be the full name or part of the name of the Tv-show):

The app will then render a listing of all the tv shows that match the search criteria, displaying their image as well as their name.

The user can the input "likes" on the Tv-show of his/her choice.

The comment button brings up a popup window with additional information regarding the Tv-show (genre, language, network where it aired, rating, date when it premiered and when it ended), the comments posted by other users (if any)...

... as well as the form for the current user to input a comment.

When the pop-up window is again accesed later, the user's comments will be displayed.

The application makes API calls to the [TvMaze API](https://www.tvmaze.com/api) retrieving information about the movies. Another API, [Involvement API](https://www.notion.so/Involvement-API-869e60b5ad104603aa6db59e08150270), is responsible for saving likes and fetching the number of likes, saving comments and fetching a list of comments. All those functionalities are tied-up in a single codebase.
## Built With
* HTML
* CSS
* JavaScript
* Webpack
* TVMaze API
* Involvement API
## Video Demo
https://www.loom.com/share/8509cfbbfe2b448f878ab19fbcc7def4
## Getting Started
To get a local copy up and running follow these simple example steps.
### Setup and Install
* Open your terminal - Windows: `Win + R`, then type `cmd` | Mac: `Command + space`, then type `Terminal`
* Navigate to a directory of your choosing using the `cd` command
* Run this command in your OS terminal: `git clone git@github.com:German-Cobian/TV-Shows-API.git` to get a copy of the project
* Navigate to the project's directory using the `cd` command
* Once in the project's directory, run `npm install` and then `npm run build`
* To fire up the server run `npm start`
* Visit `http://localhost:8080/` in your browser to get into the app
## Authors
👤 **German Cobian**
* GitHub: [@German Cobian](https://github.com/German-Cobian)
* Twitter: [@GermanCobian2](https://twitter.com/GermanCobian2)
* LinkedIn: [@German Cobian](https://www.linkedin.com/in/german-cobian/)
## 🤝 Contributing
Contributions, issues, and feature requests are welcome!
Feel free to check the [issues page](https://github.com/German-Cobian/TV-Shows-API/issues).
## Show your support
Give a ⭐️ if you like this project!
## Acknowledgments
Guidelines for this project supplied by [Microverse](https://github.com/microverseinc/curriculum-javascript/tree/main/group-capstone).
## 📝 License
This project is [MIT](https://github.com/German-Cobian/TV-Shows-API/blob/development/LICENSE) licensed.