Giter Site home page Giter Site logo

developets's Introduction

Hi there ๐Ÿ‘‹

developets's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

developets's Issues

Feature: Likes

Heyyy, i think the 'Likes' feature will be awesome for this project
If you agree, i can start ;)

Fetch data with HTTP requests

Today the pet list is just a js file that exports an array of objects. To make it more like a real world application, we could use something like my-json-server to still allow adding pets as entries in a files, but also being able to get data with HTTP requests with some out-of-the-box advantages such as queries. This could help with #17

Add pagination

As the list increases, loading too many items at once may cause some performance issues. We could use pagination to limit the amount of items displayed.

Make the card pictures square

The cards would look much better if the image on them was cropped into a square (equal width and height) while maintaining the aspect ratio of the original image. Size should be something such as 240x240 for mobile devices and 320x320 for the rest

Add pre-commit hook with husky

This project receives a lot of pull requests so it would be nice to have a hook to run eslint before commits to help maintain the code quality.

Redesign header

I'm not much of a designer, so the header looks very simple and boring :( use your creativity and improve the header!

Redesign the page!

Feel free to modify the page as much as you want, such as using different colors or changing the ui framework from semantic-ui to something else ๐Ÿ˜„

Use local storage to cache requests

We are using axios to fetch pets data from an external source and we have pagination set up so that every page loaded triggers a new request. This could be improved with something like this so that we first check if data is stored locally before actually sending a request to the server.

Bonus challenge: implement pre-fetching so that, for example, when I navigate to page 2, page 3 is loaded in advance, then when I navigate to page 3, page 4 is loaded in advance and so on. Can be a separate PR.

Add fallback for broken image urls

Some of the images are broken on the live website. It would be nice to display another image in this case, such as the paw icon, given that it is always publicly available as long as the page is served!

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.