Skip to content

A site built with next.js that retrieves and displays data from various nasa api's

Notifications You must be signed in to change notification settings

wilderav86/CosmosStuff

Repository files navigation

Space Junk

url: https://www.spacejunk.me

Space Junk is a collection of widgets designed to display interesting space information from various APIs. I built it partly because I love all things space, but mostly to practice working with sass, retrieval and manipulation of data from APIs, and writing custom hooks. More widgets to come!

Installation

  git clone

  npm i

  npm run dev

Technologies Used

  • Next.js
  • Sass - Created mixins and variables to make styling quick and scalable
  • CSS modules - Styling is broken down and scoped to each individual component.
  • deployed to Netlify

Other libraries

  • React Medium Image Zoom - The original medium.com-inspired image zooming library for React.

  • Classnames - A simple JavaScript utility for conditionally joining classNames together.

  • Framer-Motion - An open source motion library for React, made by Framer.

  • React-Icons - Include popular icons in your React projects easily with react-icons, which utilizes ES6 imports that allows you to include only the icons that your project is using.

  • React-Map-GL - react-map-gl is a suite of React components designed to provide a React API for Mapbox GL JS-compatible libraries. More information in the online documentation.

Widgets

Astronomy Picture of the Day

This widget uses NASA's APOD API to display a fascinating image every day curated by actual astronomers. It also features a searchbar to see pictures from previous dates all the way back to its inception on July 16, 1995!

Mars Rover Photos

Photos taken by the Mars Perseverence Rover updated daily. It uses NASA's Mars Rover Photos API and features a dropdown menu to query by the different cameras onboard the rover along with a searchbar to query by sol (Martian day).

ISS Tracker

An International Space Station tracker that gives you the real time position, speed, and altitude of the ISS updated every 3 seconds. The map is provided by the React-Map-GL library and Mapbox. ISS data is provided by the Where The ISS At? API.

This is a Next.js project bootstrapped with create-next-app.

James Webb Space Telescope

Uses the JWST API by Kyle Redelinghuys to fetch paginated pages of raw pictures from the James Webb Telescope. A planned feature is to display finished images from the JWST.

JWST API documentation P

About

A site built with next.js that retrieves and displays data from various nasa api's

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published