Code Monkey home page Code Monkey logo

lmunozm1702 / capstone2 Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 3.0 1.9 MB

This JavaScript capstone project is built on iTunes Search API, an external API which is used to get the data of different ebooks, and an Involvement API which is used to record the user interactions including likes and comments.

License: MIT License

HTML 6.35% JavaScript 64.45% CSS 29.20%
api async-await css es6 html5 javascript jest-tests onepagewebsite webpack

capstone2's Introduction

๐Ÿ“– JavaScript Capstone - API-based webapp

This JavaScript capstone project is built on iTunes Search API, an external API which is used to get the data of different ebooks, and an Involvement API which is used to record the user interactions including likes and comments. The project covers the following mentioned points:

  • The main page shows a list of ebooks (retrieved from the iTunes Search API) that you can like.
  • A popup window showing the book details and the comment section.
  • In the pop-up window user can see the author name, price, and description of the book.
  • The application shows the number of books and number of likes and comments for each book.

๐Ÿ›  Built With

๐Ÿš€ Live Demo

Click here for live preview

Kanban Board

Link to the Kanban Board

Pull Requests

Pull Request 1

Pull Request 2

๐Ÿ’ป Getting Started

Prerequisites

  • node.js
  • git

Setup

To get a local copy, follow the steps below:

  1. Open your terminal

  2. Navigate to the directory where you want to clone the project.

  3. Clone the project using git clone or directly by running the following command

    https://github.com/lmunozm1702/capstone2.git

  4. Open your editor and follow the steps mentioned below

Install

  • npm install

Usage

  • npm run build
  • npm start

๐Ÿ‘ฅ Authors

๐Ÿ‘ค Luis Muรฑoz

๐Ÿ‘ค Abeera Tahir

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

๐Ÿ“ License

This project is MIT licensed.

Acknowledgement

We use the Lodash and Fontawesome NPM packages.

Show your support

Give a โญ๏ธ if you like this project!

capstone2's People

Contributors

abeeratahir avatar lmunozm1702 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

capstone2's Issues

[3pt] - Add reservations counter - Student C

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

Make sure that the correct number is displayed on the Reservations 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.

[1pt] Choose assets - group task

Choose images, text, icons, fonts.

Fonts: Roboto.
Icons: from fontawesome.
Images: Comes from API.
Text: We decide on run time.
Colors: tomato, grey, etc. To have a minimalist appearance.

[3pt] - 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.

[4pt] - Display Reservations pop up with selected item's details - Student C

Create a reservations popup only with the top section (displaying details of the selected item)

Screenshot 2021-06-27 at 22 10 45

When the popup loads, the webapp retrieves data from the selected API and shows details about the selected item.

Add 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).

[4pt] -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)

Screenshot 2021-06-27 at 22 10 45

When the popup loads, the webapp retrieves data from the selected API and shows details about the selected item.

Add 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).

[0.5pt] 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.

[3pt] - 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.

[4pt] - Display list of items on the Homepage - Student A

Create the main part of the homepage that keeps the layout from the wireframe:

Screenshot 2021-06-27 at 21 50 23

When the page loads, the webapp retrieves data from the selected API and shows the list of items on 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.

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.