Code Monkey home page Code Monkey logo

nasa_marsroverphotos's Introduction

NASA_MarsRoverPhotos

SDJS-01 Interview Excercise

Requirements

Instructions

  • Clone this repository

  • Install all the framework dependencies

npm i 
  • Create and env file and add your personal key like this
REACT_APP_NASA_API_KEY = <Your_own_personal_key>
  • To build the application, so the environmental variables are set, run the command:
npm run build

ℹī¸ Every single time the env file is modified this command must be run once again, so the environmental variables are updated.

  • Then, you can run the application:
npm start

React JS will automatically create a local server to deploy the application.

For CD/CI

If you want to run the application and see it reflected on GitHub pages Add the secrets to your own repository:

REACT_APP_NASA_API_KEY = <Your_own_personal_key>
ACTIONS_DEPLOY_ACCESS_TOKEN = <Your_own_personal_token_generated_by_github>

The yaml file is already set to retrieve both secrets for deploying de CD/CI pipeline and the environmental variables.

You can see the project working in the following link

https://AntonioMM8506.github.io/NASA_MarsRoverPhotos/

nasa_marsroverphotos's People

Contributors

antoniomm8506 avatar

Watchers

 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.