NasaNews

所属分类:交通/航空行业
开发工具:JavaScript
文件大小:19KB
下载次数:0
上传日期:2022-12-12 14:12:42
上 传 者sh-1993
说明:  这是一个项目,其中包括美国国家航空航天局在Node js顶部的api新闻
(This is project which include Nasa news from its api on the top of the Node js)

文件列表:
Template (0, 2020-04-30)
Template\partials (0, 2020-04-30)
Template\partials\footer.hbs (782, 2020-04-30)
Template\partials\headers.hbs (1498, 2020-04-30)
Template\views (0, 2020-04-30)
Template\views\about.hbs (587, 2020-04-30)
Template\views\error.hbs (362, 2020-04-30)
Template\views\help.hbs (371, 2020-04-30)
Template\views\index.hbs (1184, 2020-04-30)
package-lock.json (28817, 2020-04-30)
package.json (292, 2020-04-30)
public (0, 2020-04-30)
public\css (0, 2020-04-30)
public\css\1-css.css (129, 2020-04-30)
public\help.html (1258, 2020-04-30)
public\js (0, 2020-04-30)
public\js\1-app.js (2442, 2020-04-30)
src (0, 2020-04-30)
src\app.js (4191, 2020-04-30)
src\utils (0, 2020-04-30)
src\utils\astronmy.js (676, 2020-04-30)

# NasaNews Website- https://alexi-nasa-news.herokuapp.com/ Explnation- https://www.youtube.com/watch?v=z6LCKvMgrzU

Langauge - Javascript

Runtime - Node js

To Run on localhost - npm start

Package

npm handlebars

npm express

npm request

API used - https://api.nasa.gov/

I also provide and Rest-API for Astronmy news https://alexi-nasa-news.herokuapp.com/nasa

Sample Json result -

```javascript { title: "Astronmy Today news", body: { copyright: "Gerald Rhemann", date: "2020-04-29", explanation: "Newly discovered Comet SWAN has already developed an impressive tail. The comet came in from the outer Solar System and has just passed inside the orbit of the Earth. Officially designated C/2020 F8 (SWAN), this outgassing interplanetary iceberg will pass its closest to the Earth on May 13, and closest to the Sun on May 27. The comet was first noticed in late March by an astronomy enthusiast looking through images taken by NASA's Sun- orbiting SOHO spacecraft, and is named for this spacecraft's Solar Wind Anisotropies (SWAN) camera. The featured image, taken from the dark skies in Namibia in mid-April, captured Comet SWAN's green-glowing coma and unexpectedly long, detailed, and blue ion-tail. Although the brightness of comets are notoriously hard to predict, some models have Comet SWAN becoming bright enough to see with the unaided eye during June. Experts Debate: How will humanity first discover extraterrestrial life?", hdurl: "https://apod.nasa.gov/apod/image/2004/CometSwan_Rhemann_1200.jpg", media_type: "image", service_version: "v1", title: "The Ion Tail of New Comet SWAN", url: "https://apod.nasa.gov/apod/image/2004/CometSwan_Rhemann_960.jpg" } } ```

近期下载者

相关文件


收藏者