GithubHelp home page GithubHelp logo

toronto-waste-lookup's Introduction

Toronto Waste Lookup Build Status

Description

Toronto Waste Lookup is a simple web application that looks up items based on keywords entered into a search bar.

The items to be searched are stored in a json file where they are queried using a GraphQL API. The API is implemented using Apollo-Server on a NodeJS(express) server written in TypeScript. The front-end uses React and Redux for handling state and Apollo-Client for quering the backend API. The styling was done using SASS.

The user is able to enter a keyword for searching the backend API for possible matches. The backend returns a list of matching items or nothing which are rendered. The search results contain a title and a body field, where the title field is rendered with a star beside it. The star shows the status of the item.

A grey star means the item is not contained in the favourites list while a green star means the item is in the favourites list. When a grey star is clicked, it is added to the favourites list. When a green star is clicked, it is removed from the favourites list. The favourites list is maintained by redux and is rendered in the favourites section

Tools

  • React (create-react-app)
  • Redux
  • Apollo-Client (front-end GraphQL)
  • Sass - for styling front-end
  • Apollo-Server (backend GraphQL)
  • TypeScript
  • NodeJS - Express
  • Nginx for reverse proxy between frontend and backend
  • TravisCI for Continuous Integration
  • Docker

Deployment Links

toronto-waste-lookup's People

Contributors

nursh avatar

Watchers

James Cloos avatar  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.