Skip to content
/ astro Public

This NodeJS app is an API serving Solar System planet coordinates, computed for a defined Time of Interest, using A. Möller's astronomy-bundle package.

Notifications You must be signed in to change notification settings

lsandini/astro

Repository files navigation

This API is serving Heliocentric planet coordinates computed for a specific Time of Interest

It uses the astronomy-bundle package by Andreas Möller. Since it is written in Typescript with ES6 syntax, the use of an ECMA-module loader like ESM is required (or a transpiler like babel).

This nodeJS app is running on free dynos on Heroku at https://astro6.herokuapp.com. It doesn't require credentials.

Running locally

To run your own instalment of the app, type in terminal:

npm start 

OR

node -r esm app-axios.js

Your HTML interface is running on port 3000

Querying the API from another

When the app is running, POST requests can be sent to the API as in the fetch() example included here.

About

This NodeJS app is an API serving Solar System planet coordinates, computed for a defined Time of Interest, using A. Möller's astronomy-bundle package.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published