Git Product home page Git Product logo

ellislvwv's Introduction

Challenge

"Build a simple web site / web app with data from our API [...]. Please don't spend days on it, keep it simple!"

Approach:

For this project I use a single API endpoint (/events) to retrieve all events (title, description, date, url) from the server. These events shall be displayed to the user in the frontend, sorted by date. The user can then filter the events further, either by a time span or by a "tag", which is generated from the title.

User Stories:

  • As a user I can see all events, sorted (descending) by date.
  • I can click a button / link that brings me to the website of the event.
  • I can set a start / end date to filter events ("Date Filter").
  • I can click a link from the tag list to filter events that contain this word in their title ("Tag Filter).
  • I can release filters to return to the default state, showing all events.

Additional goals:

  • The app doesn't break if there are no events / tags.
  • All props are type checked.
  • The app is (somewhat) responsive and can be viewed on a mobile device.
  • The app mimics the style of the original website.
  • No errors / warnings in the console.
  • Don't use Codaisseur boilerplate code.

Goals not achieved in time/ things I would improve:

  • Events: Change the carousel to a proper item carousel that displays 3 items at a time instead of a scrollbar.
  • Tags: Either hide tags once a tag is clicked or have all tags displayed (including tags of filtered events).
  • Tests: Add JEST/Enzyme tests.

Time spend:

  • Approx 1.5 working days.

Technologies used:

  • React - The web framework used for frontend
  • Redux - State manager for React
  • CSS3
  • Yarn - Dependency Management

Authors

Friedrich Striewski

License

Feel free to use as you see fit.

ellislvwv's People

Contributors

fstriewski avatar

Watchers

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