Skip to content

chris-larham-1983/opportunity-rover

Repository files navigation

Opportunity Rover App

Table of Contents


General Information

This is my solution to the Codecademy portfolio project entitled Final PERN App, an open-ended project that had to be built using the PERN stack.

The application had to satisfy the following requirements:

  • have a front-end built using React.js
  • have a server built using Node.js and Express.js
  • use a PostgreSQL database to store data
  • be written with the best security principles in mind
  • include unit tests to ensure the integrity of the code
  • use Git version control
  • be developed locally
  • be published on Heroku

I decided to design an app that allows Users to view all the publicly-available images taken by the Opportunity Rover during its lifetime on Mars. I wrote code that communicated with the open-source NASA Mars Rover API for several hours in order to extract all the necessary image data; I inserted the relevant data from each NASA API response to my local PostgreSQL database.

I wrote unit tests (340 in total) as I was building the app in order to ensure that the presentation and functionality of each component matched my specifications. The components used in the app are explained in the images below.


Component Design

Component Design


Unit Tests

Audio Unit Tests

AppHeading Unit Tests

MissionOverview Unit Tests

IntroSlideshow Unit Tests

PhotoAccess Unit Tests

TextCredit Unit Tests

PageTraversal Unit Tests

IntroPageReturn Unit Tests

CameraAbbreviations Unit Tests

SolLink Unit Tests

SolOverview Unit Tests I

SolOverview Unit Tests II

SolOverview Unit Tests III

SolHeading Unit Tests

SolSlideshow Unit Tests I

SolSlideshow Unit Tests II

ImageEditing Unit Tests

CameraFilter Unit Tests I

CameraFilter Unit Tests II

SolSelection Unit Tests


Audio Component Logical Algorithm Diagram

audio component logical algorithm diagram


Entity Relationship Diagram

Entity Relationship Diagram


Technologies

I wrote this Final PERN App using the following technologies:

  • JavaScript
  • React.js
  • React Testing Library and Jest
  • Express.js
  • Node.js
  • PostgreSQL
  • Git and GitHub
  • Command Line
  • Entity Relationship Diagram (LucidChart)
  • Algorithm Diagram (LucidSpark)

Using the App

This Final PERN App can be viewed and interacted with:


License

MIT License

Copyright (c) 2023 Chris Larham

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages