GithubHelp home page GithubHelp logo

codemargaret / mars-rover Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 96 KB

A site that displays photos from the Mars Rover API in an Angular site (Epicodus JavaScript Week 5 Monday)

JavaScript 10.33% HTML 10.59% TypeScript 77.45% CSS 1.63%
epicodus-students api javascript firebase typescript angular2

mars-rover's Introduction

Mars Rover

An app that returns photos from the Mars Rover API, 11.06.2017

By Margaret Berry

Description

This application allows the user to select a date and Mars Rover camera and see photos from that date taken with that camera. Users can also save photos they like to a Firebase database.

This project was generated with Angular CLI version 1.0.0.

Project Goals

  • Make an API call in an Angular CLI application.
  • Use a web API with Firebase.

Setup/Installation Requirements

Run the following commands in Terminal:

  1. $ git clone this repository
  2. $ cd mars-rover
  3. $ npm install
  4. $ bower install
  5. Firebase setup:
  • Go to firebase and login or create a free account.
  • Create a project called 'mars-rover'.
  • Click 'add firebase to your web app'.
  • $ touch src/app/api-keys.ts
  • Add the following code and replace the x's with your information:
    • export const marsRoverKey = "xxxx"; export const config = { apiKey: "xxxx", authDomain: "xxxx.firebaseapp.com", databaseURL: "https://xxxx.firebaseio.com", projectId: "xxxx", storageBucket: "", messagingSenderId: "xxxx" };
  • Visit the Firebase console, click 'mars-rover,' and click the database option from the navbar on the lefthand side of the menu.
  • Click the blue navbar 'Realtime Database,' then 'Rules.' Set the value of .read and .write to 'true' and click 'publish.'
  1. $ ng serve
  2. Navigate to localhost:4200

Known Bugs

There are no known bugs at this time.

Support and contact details

If you have issues, questions, ideas, or concerns, please contact Margaret. Feel free to make a contribution to the code.

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Technologies Used

  • JavaScript
  • TypeScript
  • Node
  • Bower
  • Angular CLI
  • Firebase

License

This software is licensed under the MIT license.

Copyright (c) 2017 Margaret Berry

mars-rover's People

Contributors

codemargaret avatar

Watchers

 avatar  avatar

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.