GithubHelp home page GithubHelp logo

airport-list's Introduction

CMS Front End Application

The Front End Application was developed as a Single Page Application, and is performing client rendering (as opposed to Server Side Rendering).

Project is fetching data via fetch, for some devices we may need to use a polyfill

An alternative would be to use Axios but we would lose the ability to intercept requests in the Service Worker if required.

We are not employing any of the PWA (Progressive Web App) improvements at this stage of the project.

Architecture Diagram

Architecture Diagram

Styling

Project is using Bulma for styling, which is based on Flexbox, providing responsiveness

Accessibility

Project does not specifically tackle Accessibility in this instance

Caching

At the moment, Project loads data on the first load, and stores API result into redux, via Redux Thunk

An alternative for Redux would be to use Redux Saga

Another, possibly better approach would be to cache the result by intercepting fetch API calls via the Service Worker via PWA.

CORS

We are using create-react-app proxy feature to work around CORS in the development mode.

Atomic Design

In general, Atomic Design works well with larger React Apps, in this instance we used minimal amount of components.

Dependencies

Project Assumptions: You already have yarn or npm installed already, you can view command comparison

We are showing yarn commands below, but npm can be also used.

Please run

yarn install

How to Run

yarn start

Navigate to http://localhost:3000 in your browser

How to Build

To build

yarn build

You can find the optimised bundle in the dist folder.

Testing

To test Components, please run tests as below

yarn test

Currently, only simple tests have been implemented, typically, we should do:

airport-list's People

Contributors

nmijailovic 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.