Coder Social home page Coder Social logo

rick-and-morty's Introduction

Rick and Morty Characters List and Details Page

Project Features:

  • Characters List: Presents a list of all characters, allowing users to easily navigate and select a specific character.
  • Character Detail View: Displays detailed information about a selected Rick and Morty character.
  • Episode List: Shows a list of the last episodes the selected character appeared in, along with their information.
  • Pagination: Allows users to easily navigate through characters and episodes by dividing them into pages.
  • Sorting: Offers the ability to sort characters by name, type, gender, and status.

API Usage

Fetch all Characters

  GET https://rickandmortyapi.com/api/character
Path Query type Purpose of usage
/character Get All Characters
/character ?name=rick&status=alive string Filter Characters.

Fetch Character detail by Id

  GET https://rickandmortyapi.com/api/character/${id}
Path Paramater Query Purpose of usage
/character id string Get Single Character Details.

Route Structure

The project consists of 2 pages. There is a http://localhost:4200/character characters list page in the main directory. There is character detail page for the each character details character/{id} http://localhost:4200/character/1 directory.

Project Setup

To run the project locally, follow these steps:

  1. Clone the repository to your local machine.
  2. Navigate to the project directory using the command line.
  3. Run npm install to install the project dependencies.
  4. Run npm start to start the development server.
  5. Open your browser and visit http://localhost:4200/ to view the application.

Clone The Project

  1. Clone the repository to your local machine using the following command:
  https://github.com/emindemirhan/rick-and-morty.git

rick-and-morty's People

Contributors

emindemirhan avatar

Watchers

 avatar

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.