Code Monkey home page Code Monkey logo

star-wars-react-spa's Introduction

Star Wars Logo

Star Wars React SPA


Версия на русском языке


https://al3xsus.github.io/Star-Wars-React-SPA/


A simple SPA dedicated to the Star Wars universe. Technology stack: React (create-react-app), Semantic UI React, SPA. The API https://swapi.dev/ was used to obtain information. Color palette source - https://loading.io/color/feature/StarWars-Yoda

How it works

SPA consists of three sections - Films, People, Starships. Each of the sections has a search and filter panel, a list of objects, and a pagination panel.

How to search? Type the desired search expression (every section has its own hint for the desired field) and click on the search icon.

How to filter? Select the desired operation from the drop-down list, type the desired value for filtration and click on the filter icon.

How to reset the result? Clear the search and click on the icon again.

When you click on an object, a modal window with more complete information will appear on the screen. Part of information requiring additional loading will be presented as links. If you click on the button on the right, those information links will be downloaded and processed.

ATTENTION. Sometimes an API can take a very long time to respond. That is why getting all data is derived by separate functionality.

Scripts

Run from the project folder:

yarn add

To install modules

yarn start

To launche the application in development mode at [http: // localhost: 3000] (http: // localhost: 3000).

yarn build

To build project in the build folder.

yarn global add serve

To install a local server.

serve -s build

To run built project on a local server.

Screenshots

Homepage

Homepage

The top of the section and the search and filter panel

Upper section

The bottom of the section and the pagination panel

Bottom of the section

Search results

Search results

Filter Results

Filter Results

Modal window without additional data loading

Modal window without additional data loading

Modal window with all data downloaded

Modal window with all data downloaded

star-wars-react-spa's People

Contributors

dependabot[bot] avatar al3xsus avatar a13x5u5 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.