GithubHelp home page GithubHelp logo

mrcbq / capstone-rick-and-morty-api Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 1.67 MB

Web application created around Rick and Morty API, uses ES6 features and consume 2 API, one for get data (R&M API) another for post data (MV Involvement API). Permits add likes and comments taht are saved in the involvement API.

Home Page: https://mrcbq.github.io/capstone-rick-and-morty-api/

License: MIT License

JavaScript 71.61% CSS 24.85% HTML 3.54%
css3 fetch-api html5 javascript jest-tests webpack

capstone-rick-and-morty-api's Introduction

Capstone Rick and Morty - Microverse

๐Ÿ“— Table of Contents

๐Ÿ“– Capstone Rick and Morty

In this project we decide to consume the Rick and Morty API to make a web page to display characters in cards with popup window, characters descriptions, likes and section of comments.

  • You can watch the description of the project here.

๐Ÿ›  Built With

Tech Stack

  • HTML
  • JS
  • CSS
  • Webpack
  • Jest
Client - HTML
- JS
- CSS
- Webpack
- Jest
Server - Null
Database - Null

Key Features

  • Cards with characters
  • Popup windows
  • Likes and comments for characters

๐Ÿš€ Live Demo

You can see the live demo of this project here

(back to top)

๐Ÿ’ป Getting Started

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

Prerequisites

  • A web browser
  • A code editor
  • A terminal

Setup

Clone this repository to your desired folder:

  git clone https://github.com/mrcbq/capstone-rick-and-morty-api.git

Install

Install this project with:

  cd capstone-rick-and-morty-api
  npm install

Usage

To run the project on the webpack dev server, execute the following command:

  npm start

Run tests

To run tests, run the following command:

  npm test

Deployment

  npm run deploy

(back to top)

๐Ÿ‘ฅ Author

๐Ÿ‘ค Luis Valera

๐Ÿ‘ค Marco Baquero

๐Ÿ”ญ Future Features

  • Add popup window for reservations ๐Ÿ˜
  • Add Episodes section ๐Ÿ‘Œ
  • Add more characters ๐Ÿ˜Ž

Walkthrough

You can watch the video description of the project here.

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

(back to top)

โญ๏ธ Show your support

If you like this project, give it a โญ๏ธ!

(back to top)

๐Ÿ™ Acknowledgments

We would like to thank Microverse for giving us the opportunity to learn and grow as developers and also we like to thank our families, they are all our support. ๐ŸŒŸ

(back to top)

๐Ÿ“ License

This project is MIT licensed.

(back to top)

capstone-rick-and-morty-api's People

Contributors

mrcbq avatar luiscarlosvd avatar

Stargazers

 avatar  avatar

Watchers

 avatar

capstone-rick-and-morty-api's Issues

[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.

[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.

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

code review morning - sesion

Hi Marco!

You have done an excellent job and your code is looking good but there are some things that you can improve! ๐Ÿ˜ƒ

  • Your code is clean and organized!
  • The JavaScript file looks really nice, It's very compressed and easy to understand, congrats! ๐Ÿฅ‚
  • You can try to fix the position of your footer, you could place it at the bottom of the page so that it looks more organized.๐Ÿ‘

Keep it up and Happy coding!! ๐ŸŽ‰๐Ÿพ

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

[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.

[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.

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.