Skip to content

shantanukorgaonkar/nasa-asteroid-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steps to run the code

  1. Run npm install to install all dependencies
  2. create a .env file in the root directory and add the NASA secret key as shown below
REACT_APP_API_KEY=your_secret
  1. You are ready to run the program. Refer to the scripts below.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!