rick-and-morty-api

The Rick and Morty API (by afuh)

Rick-and-morty-api Alternatives

Similar projects and alternatives to rick-and-morty-api

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better rick-and-morty-api alternative or higher similarity.

rick-and-morty-api discussion

Log in or Post with

rick-and-morty-api reviews and mentions

Posts with mentions or reviews of rick-and-morty-api. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-06-19.
  • Free APIs You Need to Know About in 2024
    5 projects | dev.to | 19 Jun 2024
    const fetch = require('node-fetch'); const url = 'https://rickandmortyapi.com/api/character'; fetch(url) .then(response => response.json()) .then(data => console.log(data)) .catch(error => console.error('Error:', error));
  • Exploring Hurl, a command line alternative to Postman
    3 projects | dev.to | 28 May 2024
    Before you begin writing the tests, open the Rick and Morty website to view its text content. You should see something like the following with some large text and a grid of random Rick and Morty characters: Considering that we don’t have access to the codebase for the website as we’re not its developers, we can understand the HTML structure behind it by using the Web Inspector element: As you inspect the HTML elements present on the page, you will observe that the large text is the only H1 element on the page, and the Rick and Morty character cards are within an article element.
  • Implementing Infinite scroll in React apps
    2 projects | dev.to | 26 Apr 2024
    import { useEffect, useState } from "react"; import axios from "axios"; import "./App.css"; import InfiniteScroll from "react-infinite-scroll-component"; import CharacterCard from "./components/Card"; function App() { const [characters, setCharacters] = useState([]); const [page, setPage] = useState(1); const [hasMore, setHasMore] = useState(true); const [totalPages, setTotalPages] = useState(1); const fetchData = async () => { if (page == totalPages + 1) { setHasMore(false); return; } // <-----------------------------------------------> // waiting for 1 second before fetching data to show loading spinner, you can skip this await new Promise((resolve) => setTimeout(resolve, 1000)); // <-----------------------------------------------> const res = await axios.get( `https://rickandmortyapi.com/api/character?page=${page}` ); setCharacters((prevPosts) => [...prevPosts, ...res.data.results]); setTotalPages(res.data.info.pages); setPage((prevPage) => prevPage + 1); }; useEffect(() => { fetchData(); }, []); return (

    Rick and Morty characters!h1> Loading...h4>} endMessage={

    Yay! You have seen it allb> p> } > {/* Map over characters array and return JSX */} {characters.map((character, index) => ( ))} InfiniteScroll> div> ); } export default App;

  • Building a Modern Full-Stack MonoRepo Application: A Journey with GraphQL, NextJS, Bun, and AWS
    3 projects | dev.to | 26 Nov 2023
    This project was conceived as a coding challenge and a demonstration of integrating modern web technologies into a cohesive application. The core of this project involves leveraging GraphQL to interact with the open-source Rick and Morty API, a task I often set for potential hires.
  • How to Write a GraphQL Query
    8 projects | dev.to | 29 Oct 2023
    export const apolloClient = new ApolloClient({ uri: "https://rickandmortyapi.com/graphql", cache: new InMemoryCache({ typePolicies: { Query: { fields: { characters: { keyArgs: false, merge(existing: Characters, incoming: Characters) { return { ...incoming, results: [ ...(existing?.results || []), ...(incoming?.results || []), ], } satisfies Characters; }, }, }, }, }, }), });
  • CS50x Final Project
    3 projects | /r/cs50 | 2 Jul 2023
    Hello, my fellow CS students! Are there any Rick & Morty fans here? Because I've just created an app called Portalpal for my final project. It's a fun little app designed to explore the Rick & Morty universe. With Portalpal, you can view, search, paginate, and filter characters. Additionally, you have the option to filter characters by episodes and locations. For the data, I utilized the rickandmorty API, which you can check out here: https://rickandmortyapi.com/. If you'd like to give it a try, here's the link to my app: https://portalpal.vercel.app/. I built it using React 18, and it took me about a month. I'm really proud of how it turned out! If you're interested, you can also find the source code for the app on my GitHub repository: https://github.com/kyawzinhtett/portalpal. Feel free to open an issue if you discover any errors.
  • Where to get Free APIs to practice my web dev skills?
    3 projects | /r/PinoyProgrammer | 21 Jun 2023
  • It's not much but it's mine. Rick and Morty info app. Feedback/code review welcome!
    1 project | /r/webdev | 17 Jun 2023
    Just a small app consuming the Rick and Morty API showing some basic stats of each character such as last known location, species and what episode(s) they appear in.
  • How to upskill my API Testing.
    2 projects | /r/softwaretesting | 8 Jun 2023
    Checkout https://rickandmortyapi.com and their https://rickandmortyapi.com/graphql
  • Does anybody know the API documentation tool used to build the Rick and Morty API?
    4 projects | /r/webdev | 11 Apr 2023
    Click the guys name in the footer. It’ll take you to his GitHub profile. There you can find the source code to the site and the API.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 12 Sep 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic rick-and-morty-api repo stats
10
976
0.0
over 1 year ago

Sponsored
Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com