Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tinawebdev/pintercats

🐱 Pure JavaScript Cats Viewer application using TheCatApi
https://github.com/tinawebdev/pintercats

css-pseudo-elements eslint font-awesome-5 infinite-scroll lazy-loading scss thecatapi vanilla-js webpack

Last synced: 21 days ago
JSON representation

🐱 Pure JavaScript Cats Viewer application using TheCatApi

Awesome Lists containing this project

README

        

# Pintercats
[![Maintainability](https://api.codeclimate.com/v1/badges/9a45cf7aae882d055a1c/maintainability)](https://codeclimate.com/github/tinawebdev/pintercats/maintainability)
[![ESLint](https://github.com/tinawebdev/pintercats/actions/workflows/eslint.yml/badge.svg?branch=main)](https://github.com/tinawebdev/pintercats/actions/workflows/eslint.yml)

**Cats Viewer app using TheCatApi**
## Features
* Built with Vanilla JS.
* Fething the data in JSON format from the [TheCatApi](https://docs.thecatapi.com/).
* Dynamically inserting the images into the DOM on initial loading.
* When the user scrolls close to the bottom of the page the app makes another GET request to the API and inserts images into the DOM (lazy loading).
* The app stores liked images in LocalStorage.

## Technology Stack
* Module bundler: [Webpack 5](https://webpack.js.org/) - For build a dependency graph of all the files and their dependencies, and bundle all the files.
* Linter: [ESLint](https://eslint.org/) ([eslint-config-google](https://github.com/google/eslint-config-google)) - For improving code quality.
* Icon library and toolkit: [Font Awesome Free v5.15.4](https://fontawesome.com/) - For add icons using CSS Pseudo-elements.

## Live demo
See the live version **[here](https://tinawebdev.github.io/pintercats/)**.






## Requirements
You will need [Node.js](https://nodejs.org/en/) and [Git](https://github.com/git-guides/install-git) installed on your machine.

## Installation
To install, run the following commands into a Terminal window:
```bash
git clone [email protected]:tinawebdev/pintercats.git
cd pintercats
npm install
npm run build-dev
```

## Links
* Fonts: [Google Fonts](https://fonts.google.com/)
* Images: [TheCatApi](https://docs.thecatapi.com/)