Git Product home page Git Product logo

star-wars's Introduction

star-wars

Star Wars data fetched online from https://swapi.dev

Key Points

  • The directory build contains optimized production build (deployed on Netlify)
  • No polyfills for Internet Explorer
  • Application has been built with React and bootstrapped with npx create-react-app star-wars
  • Data aggregation of characters is achieved through RxJS
  • Redux is used for application state management
  • Bootstrap is used for designing components

Running the Application

Clone the repository

git clone https://github.com/faizanu94/star-wars.git

Install the application dependencies

yarn

Serve the application โ€“ this will serve the application on default port 3000

yarn start

Build the application for production

yarn build

Server Details

Find the details the application server

  • Data is fetched from third party source (https://swapi.dev/) through APIs
  • No Authentication required (API limit might exceed)
  • HTTP GET Method is used only on data sets fetched from API

Architecture Details

Find the details about several pieces of the application listed below

  • /public contains static assets
  • /src contains application building blocks
  • /src/components contains components building up the whole applications
  • /src/containers application containers using the components
  • /src/redux application state management

Assumptions

  • API limit exceeding is not supported (should be achieved by adding a verified key page)
  • Internet Explorer support is not required (should be acheved by adding pollyfills)

What is missing or could be improved?

  • Layout is quite simple, more effects would provide better user experience
  • Mobile first approach to target mobile devices
  • Search suggestions on user inputs
  • Real time data updates (not practical use case as movies / characters data is mostly static)
  • There should have been unit and e2e tests

Screen Shots

Home Page (fetching movies)

Movie not selected

Movie selected

Movie filter

Gender filter

Table last row

https://swapi.dev/api/films

star-wars's People

Contributors

faizanu94 avatar

Watchers

 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.