ISS-Locator is an app that shows the current position of the International Space Station on a Google Map.
The data used by the app is retrieved from Open Notify as well as Google Maps.
The app can be viewed here.
-
Ensure
node
is installed - installation guide -
Ensure mongoDB is installed and the mongo daemon is running - installation guide:
For mac users:
$ brew install mongodb && mkdir mongo-db && mongod --dbpath mongo-db && mongod
-
Ensure the
.env
file has the necessary data. Refer to theenv_sample
file.
- Clone the repo by running:
$ git clone https://github.com/victoriaaoka/iss-locator.git
- Change directory into the project folder:
$ cd iss-locator
- Install dependencies by running the command:
$ npm install
- Start the app by running any of the following commands:
$ node app.js
$ nodemon
- Access the app at:
localhost:<PORT>
NB: The mongo daemon should be running on one terminal tab, and the app on a different tab.
Run the command:
$ npm test
- Node
- Express
- Pug & CSS
- Mongodb