This JavaScript project is about building a web application based on an external API. We built our page using data from the TVmaze API and the Involvement API.
- HTML
- CSS/SCSS
- JavaScript(ES6)
- Webpack
- API
To get a local copy up and running follow this simple step:
- Clone repository to your local machine:
git@github.com:dewslyse/JS-capstone.git
cd JS-capstone
- Run
npm install
to install dependencies - Run
npm start
to start app - Run
npm run test
to perform unit tests.
-
The Involvement API service was created by Microvere.
-
Base URL:
https://us-central1-involvement-api.cloudfunctions.net/capstoneApi/
-
To generate a unique identifier, send a POST action to
Base URL
+/apps/
. (No parameters required); -
Return value: unique identifier for the app
Zl4d7IVkemOTTVg2fUdz
- To create a new like for a given item, send a POST action to
Base URL
+/apps/
+:id
+/likes/
. E.g:Base URL/apps/Zl4d7IVkemOTTVg2fUdz/likes/
. Example of request body:
{
"item_id": "item1"
}
- To create a new comment for a given item, send a POST action to
Base URL
+/apps/
+:id
+/comments/
. E.g:Base URL/apps/Zl4d7IVkemOTTVg2fUdz/comments/
. Example of request body:
{
"item_id": "item1",
"username": "Jane",
"comment": "Hello"
}
- You can use the GET method to get the list of items with their respective likes and comments.
- The TVmaze API provides data about TV series and movies. The API provides a number of endpoints from where shows data can be retrieved. This project used data from
https://api.tvmaze.com/shows/
.
👤 Cathy
- GitHub: @kemigabocatherine
👤 Selase
- GitHub: @dewslyse
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Hat tip to anyone whose code was used
- Inspiration
- etc
This project is MIT licensed.