Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Needlide/Astronews.UI

Repository files navigation

AstronewsUI

This project was generated with Angular CLI version 16.2.2.

About

A simple web app that visualizes data from the NASA API and SpaceflightAPI.

Table of Contents

Installation

Download Node.JS
Install Angular CLI: npm install -g @angular/cli
Clone the repo: git clone https://github.com/Needlide/Astronews.UI.git
Navigate to the project directory: cd repo
Install dependencies: npm install

Run locally

Obtain the API key at NASA Open APIs
Create a new file src/environments/environment.ts and copy code from environment.prod.ts to newly created environment.ts
Put your API key from NASA Open APIs in the secrets/api_key section like this: api_key: YOUR_API_KEY_GOES_HERE
Save the file

Usage

For advanced usage of the search bar append the prefix before the search term
Prefix must be split from the search term by semicolon :
Example: t: NASA - will search for titles which contain keyword NASA

Here is the list of prefixes used on different pages (News, Curiosity, NASA, APOD):

  • News
    • No prefix - search by title and summary
    • t - search by title
    • ns - search by news site
    • s - search by summary
    • p - search by published before and published after dates (dates in yyyy-mm-dd format split with comma ,)
    • pb - search by published before date (yyyy-mm-dd format)
    • pa - search by published after date (yyyy-mm-dd format)

License

This project is licensed under the GNU GPLv3.

List of used APIs

About

Website with space news and photos from Mars rovers

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

AltStyle によって変換されたページ (->オリジナル) /