Skip to content

fyrepenguin/curiosity-photos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mars Curiosity Rover Photos Viewer

A Web App to search and view photos taken by Curiosity Rover.

Live Demo

Preview

Screenshot

Features

  • Search Photos taken by Curiosity Rover
  • Search by Sol (Mars Solar Day from the landing date)
  • Filter results by Camera type
  • Fully Responsive Design
  • Lazy loading images

Pre-requisites

Make sure you have installed the following on your development machine:

  • Node.js - Download & install Node.js and npm package manager.
  • Neltify - You're going to use nelify-cli to manage serverless functions. Make sure you've installed Node.js and npm first, then install nelify-cli globally using npm:
$ npm install netlify-cli -g

Development Setup

  1. Cloning the git repository
$ git clone https://github.com/fyrepenguin/curiosity-photos.git
  1. Get API key from NASA open API
  2. Create a .env file in the project root folder and add the key you got from NASA as
API_KEY=YOUR_API_KEY
  1. Go the project root directory in terminal & install all the packages necessary using:
$ npm install

Run the following two commands concurrently in 2 seperate terminal windows.

  1. To start front-end application:
$ npm start
  1. To serve functions:
$ npm run start:lambda

Tech stack used

Deployment

You can deploy from github using Netlify automatically or you can use netlify-cli to deploy manually

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published