Skip to content

A SPA React, which fetches catalog and has pagination and filter.

Notifications You must be signed in to change notification settings

mossen/catalog-list

Repository files navigation

Catalog list

This is a simple SPA that provides a search tool to look for repositories by name.
Demo at https://mossen-catalog-list.netlify.app/

Solution architecture

React.js has been used as the main framework and tailwindcss as CSS framwork:

An input field is designed for user to input a keyword to be searched on Github, as a result a list of repositories containing the keyword in their name will appear. By scrolling down the list a new request is sent to fetch more repositories.

Getting started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

  • Application environment
    node v13.10.1
    yarn 1.22.0
    
  • Local development & builds
    node v13.10.1
    yarn 1.22.0
    
  • Local development & builds (using Docker)
    Docker
    

Installing

  • Docker

    cd TO_PROJECT_ROOT
    INIT=1 docker-compose up
    

    INIT=1 is needed for the first time to install everything needed.

    Use docker-compose exec www sh to ssh into the container and run yarn start.

  • Local

    cd TO_PROJECT_ROOT
    yarn install
    yarn start
    

Running the tests

yarn test

Build

yarn build

Run

Open http://localhost:3000 to view it in the browser.

Deployment

Built With

Author

  • Mohsen Khodadadi - Initial work - Linkedin

About

A SPA React, which fetches catalog and has pagination and filter.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages