Skip to content

elbi3/Mars-Rover-Photo-Journal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

116 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mars Rover Photo Journal

About this project

This is a revived personal project originally built in 2023 using SSR with Express.js and EJS template engine library. The original repository is no longer maintained. This version updates dependencies and restores functionality while preserving the original design and server-side rendering approach. It uses old, mock data to compensate for the NASA API no longer being maintained.

Tech Stack, Tools, and Libraries

Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge

View App

Deployed App

  • Link to Mars Rover Photo Journal

Screenshots

rovers app screenshot

Purpose

This app displays photos from one of the publicly available NASA APIs. My goal for it from the start has been to work with data I enjoy, and to focus primarily on the Express.js web application framework. Most courses and walkthroughs that I have encountered for Node.js fullstack software projects (such as PERN, MERN, and MEAN) rush through the Express portion, and I felt I was missing out on a more in-depth understanding of this middleware. I also wanted more experience with the http request and response cycle, and a more thorough understanding of Express's file structure in routes/views for creating routes on a site or for creating API paths.

Robert Bunch's course "Just Express (with a bunch of node and http). In detail." was instrumental in helping me create this.

Installation Instructions

  1. Click to open the repository.
  2. Click the "Fork" button. (This will create a user copy of the repository.)
  3. Open the Terminal application.
  4. In Terminal, use the "cd" command to navigate to where the local repository will live.
  5. In GitHub, click on the green "Code' dropdown.
  6. You will see three clone options. Select "SSH".
  7. Copy the SSH key.
  8. In Terminal, run "git clone [insert copied SSH key here]".
  9. In Terminal, use the "cd" command to navigate into the newly created directory. Enter npm i to install dependancies.
  10. Open the local repository in VS Code by typing: code .
  11. Type node app.js into the terminal and view the app in your browser at localhost:8000.
  12. Click on the links on the main page to view today's photos for different rovers, or add a rover name to the url: localhost:8000/perseverance.

This app was made by El Brewster ✨


Updates

Updated Data Flow:

routes/index.js ↓ services/rovers.js ↓ data/sol1000Data.js


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages