Skip to content

yan-fung/react-technical-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌎 React NASA image search - mock technical test

Introduction

A mock technical test as part of the frontend module of Command Shift.

I was expected to build a React web application that allows users to search for images based on a query relating to space. The application was built with React and JSX alongside Jest and React Testing library for testing purposes. Axios is used to perform http requests for retrieving data from the API and PropTypes is used for validating props.

For this application:

  • Users are able to search for images by keyword using the NASA images API.
  • Users are able to get the images that are returned by the API.

Desktop view

Screenshot

Mobile view

Screenshot

Quick Start and Commands

  1. Clone the repo:
git clone https://github.com/yan-fung/react-technical-test.git
  1. To install the package locally:
npm install
  1. Run the development server for the app.
npm start
  1. To test the codes in tests folder.
npm test

Technology

How To Use

Enter the name of the stars or planets in the search bar to get the images.

Improvements & Further Development

If I would have more time, I would like to add the following features to my application:

  • Making the application more repsonsive to different sizes of device.
  • Allowing users to see some basic info regarding the stars/planets alongside the images.
  • Changing the UI design to make it more appealing and user-friendly.

Authors

🧑‍🚀 Yan Fung

About

React app to search images fetched from NASA API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published