Git Product home page Git Product logo

drooms-swapi-angular-coding-challenge's Introduction

Run the Application

Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

Create a single-page "Star Wars" application using SWAPI that satisfies the following business requirements:

Scenario 1: Show home page

  • When the user opens the application
  • Then the user should see a list of "Star Wars" movies

Scenario 2: Navigate to movie details page from home page

  • Given the user has opened the home page
  • When the user clicks on a movie name
  • Then the user should be redirected to the movie details page

Scenario 3: Show movie details page

  • When the user opens the movie details page
  • Then the movie title, producer, director, and release date should be displayed
  • And the opening crawl of the movie should be shown
  • And a list of characters should be displayed

Scenario 4: Navigate to character details page from movie details page

  • Given the user has opened the movie details page
  • When the user clicks on a character name
  • Then the user should be redirected to the character details page

Scenario 5: Show character details page

  • When the user opens the character details page
  • Then the character's personal data should be displayed
  • And a list of movies in which the character appeared should be shown

Scenario 6: Navigate to movie details from character details page

  • Given the user has opened the character details page
  • When the user clicks on a movie name
  • Then the user should be redirected to the movie details page

Technical requirements:

  • Use Angular.
  • Use Angular Routing.
  • Show spinner(s) during data loading.
  • Avoid extra requests: don't request the data from the API if you have already loaded it.
  • Use Angular Material, Bootstrap, or any other library to set up basic styles.
  • Use any other libraries if you need them.
  • The application should support the latest version of Google Chrome.

Would be a plus:

  • Use NgRx or similar libraries for state management.
  • Create a mobile-friendly (responsive) design.

drooms-swapi-angular-coding-challenge's People

Contributors

ossamarafique avatar

Watchers

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