Giter VIP home page Giter VIP logo

iss-locator's Introduction

ISS-Locator

ISS-Locator uses the wheretheiss.at API to geolocate the International Space Station in real time. This project was inspired by Daniel Shiffman and Where the ISS at.

Demo

Requirements

To run via Docker, simply run docker-compose up which removes the need to have node installed locally.

JavaScript runtime. It is necessary to run the whole project.

Dependencies

Used for the server side.

Used for the database.

Used to fetch the environment files (.env).

To install all the required libraries, run the following command:

npm i

.env configuration

Firstable create a file called .env in the root directory of the project.

Following the example file .env.example, create a configuration:

HOST

HOST=localhost 

Or, if you prefere it:

HOST=127.0.0.1

PORT

As long as it has got 4 numbers, you can use any. Preferiblely use port 3000, that is the default port for Express.

PORT=3000

DB_NAME

This will be the name for the database file. You can use any name as long as it has the .db file extension.

DB_NAME=database.db

Serving the app

To start serving ISS-Locator, do the following steps:

  • Run app.js

  • Navigate to host:port in your browser. Use the ones selected in the .env configuration.

Other libraries used

These are the libraries that were used in the HTML. Without them the project would'nt be possible to be made!

There is no need to install them because are already imported with jsDelivr and unpkg in the HTML.

Map interface.

The actual map engine that displays the visuals.

Used for the styling.

API used

Where the ISS at's API actually provides all the data used for the project!

You can find all the information on how to use it here: https://wheretheiss.at/w/developer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.