Skip to content

include Signup, Login, View Profile, View Lists features.

Notifications You must be signed in to change notification settings

dev0088/angular5-startkit

Repository files navigation

PSP Angular Evaluation

Introduction

The purpose of this evaluation is to help us better understand your ability to follow a simple project plan and deliver a working Angular 5 solution. Should you have any questions or concerns regarding the instructions that follow please reach out to us immediately for help or clarification.

Project

NASA provides a public API for searching images. The project you are building will query this API and display results in an Angular 5 app. You do not need an API key to use the service--simply follow the URL pattern below:

GET https://images-api.nasa.gov/search?media_type=image&q=Jupiter

Step 1: Create a Feature Branch

Clone this repo to your local machine and create a feature branch from the master branch by following the steps below (replace <name> with your lowercased GitHub user name):

git checkout master

git checkout -b <name>-angular-evaluation

git push -u origin <name>-angular-evaluation

Make sure you have the latest Angular CLI installed (globally) and create a new Angular 5 project within this repo.

Step 2: Create a GitHub Pull Request and Assign Yourself

Once you have created this new project, make your first commit and push to the remote feature branch from Step 1. Go to this repo on GitHub, open a new pull request for this feature branch, and assign yourself.

Step 3: Reference Zeplin for Design

Visit the Zeplin project "PSP Angular Evaluation" via the invitation link you received by email. Take a careful look at each screen in the project. Each screen includes a user story in the "description" field (also listed below in this README). You can expose the clickable elements on each screen by holding down the SHIFT key on your keyboard.

Zeplin should provide you with enough context around HTML layout, measurements, CSS, colors and images to complete this evaluation. If you have a need for anything other than what you see in the Zeplin project please contact PSP immediately.

Step 4: Implement User Stories

Please implement the following user stories and ensure that the acceptance criteria for each story is met by your implementation. User stories begin with "As a...", and acceptance criteria begin with "Given...".

NOTE: when implementing the sign in page you do not need to actually authenticate against a real service. Please implement fake sign in behavior that takes "[email protected]" as the email address and "password" as the password.

As a user
I want to sign in to my account
So that I can search for images

  Given I am on the sign in screen
  When I enter "[email protected]", "password" and click "Sign In"
  Then I should be routed to the blank search screen

As a user
I want to execute a search query
So that I can search for images

  Given I am on the blank search screen
  When I enter "Jupiter" into the "NASA Image Search" input and click "Go"
  Then I should see a single image search result

As a user
I want to click an image search result
So that I can see the large format image from that search result in a modal dialog

  Given I see a single image search result
  When I click on the search result
  Then I should see the large format image from that search result in a modal dialog

As a user
I want to click the close button on the large format image modal dialog
So that I no longer see the modal dialog

  Given I see a large format image modal dialog
  When I click the close button on the modal dialog
  Then the modal dialog should close
  And I should see a single image search result

Step 4.5: Bonus

Provide automated E2E testing that verifies your implementation of the stories outlined above satisfy the acceptance criteria.

Step 5: Request a Code Review

When you have completed your implementation of the user stories push your final commit to your pull request feature branch and request a code review from PSP.

Questions?

Please contact us immediately if you have any questions about this evaluation project, or encounter any issues getting set up. We are happy to help.

Thanks!

About

include Signup, Login, View Profile, View Lists features.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published