Coder Social home page Coder Social logo

nasa-apod's Introduction

NASA Astronomy Photo of the Day

This app displays beautiful astronomy photos for the current day and month from the NASA APOD API. SEE IT LIVE

Set-Up

  • Get a NASA API key here: https://api.nasa.gov/index.html#apply-for-an-api-key
  • Add your unique api key and an environment variable in an .env.development file
  • Clone this repo: git clone https://github.com/kaohman/bike-see.git
  • Run npm install from root directory
  • Run npm run serve and visit localhost:8080 in your browser

Deployed Website

https://nasa-apod-ohman.herokuapp.com/

Background/About

This was my first time creating a Vue app. Users can view today's astronomy photo from NASA along with details about the photo and past photos for the month. The app uses responsive design to be both mobile and desktop friendly. The goal of the project was a practice take home code challenge using a new framework (Vue). View original assigment here.

Screenshots

Home page:

All month page:

Primary Technologies Used

  • Vue
  • HTML
  • CSS
  • NASA API

Enhancements

  • Include functionality to view older photos
  • Incorporate Vue Router to dynamically change the URL path and allow users to share a specific photo
  • Add Vuex for state management

Contributors

Karin Ohman

Wireframes

nasa-apod's People

Contributors

kaohman avatar

Stargazers

Cody Confer avatar Nick Teets avatar  avatar

nasa-apod's Issues

Create Main Component

Should use conditional rendering to show ApodContainer or ApodDetails based on Vue Router path. Child of App.

Create ApodContainer Component

  • Should make a fetch call to GET all APODs for the current month
  • Should create Apod components based on results of that fetch call

Create ApodDetails Component

  • Should make a GET fetch for single desired APOD
  • If a date is passed, fetch that image, otherwise get today's image
  • Should display full image and details in a caption

Create Apod Component

Should display preview of APOD image and should be a link to apod/:id route that will display full page image and caption when clicked

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.