API used in this project:
light pollution map: https://www.lightpollutionmap.info/ --RESTFUL
sky map: https://www.fourmilab.ch/yoursky/ --RESTFUL
google map API
version and environment control:
github, nodejs
Start:
run npm install
anywhere if needed
run npm start
under direction /SunServer/skyServer, /skyMapServer/skymapserver
run npm run serve
under direction /skyMap
Main functions:
- using google map to find a selected position (google map API)
- using the latitude and the longitude obtained by google map to get the light polution level (light map API), and do analysis, give suggestions
- using the latitude and the longitude obtained by google map to get the sunrise time and sunset time (calculation by local server)
- using the latitude and the longitude obtained by google map to get the star map (star map API)
- enable to customorize the star map (star map API)
- integrated the star message database, can searching by using the name shown in the star map