This project was created for Epicodus Week 6, Intermediate JavaScript/Asynchrony and APIs/Lesson 25. This application uses mutlitple NASA API's and shows the weather on Mars using Insight API. It also shows images from the Mars Rovers using Mars Rovers Photos API.Lastly, users can search for images in NASA image library using NASA Image and Video Library API.
- Show captions under search image results
- Make bg random cool photo
- Make weather forecast look like a weather forecast
- When you click search, it clears everything except search bar and search results
-
To run this project locally you will need to have node. You can check if you have node by running
node -v
in the command line. If you do not have node please find more information and download here -
You will also need to have a NASA API Key. To get this you will need to request a Key here.
Go to my GitHub repository here, https://github.com/taylulz/martian-api.git, and click on the green 'Code' button to clone the repository, Open with GitHub Desktop OR Download the ZIP file
- Push the green 'Clone' button and copy the URL.
- Open Terminal or GitBash and input the command:
git clone https://github.com/taylulz/martian-api.git
- To view the code, open the copied directory with Visual Studio Code or your preferred text editor by inputing the command
code .
in your terminal. - To view the website, open index.html in Chrome or your preferred browser.
- Run
npm install
in terminal to gain access to webpack. - Create a
.env
file in the root directory. - Save your API key in the
.env
by inputtingAPI_KEY= {Your API Key}
. - Input
npm run start
to view the live server for the application.
No known bugs at this time
If you run into any problems or have any questions please contact us via email:
This project uses the following technologies:
- NASA APIs (Insight, Mars Rover Photos, NASA Image and Video Library)
- JavaScript
- JQuery
- HTML
- CSS
- Bootstrap
- GitHub
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright (c) 2020 Kaila Sprague McRae and Taylor Delph