Skip to content

An API that shows the current location of the International Space Station. The number of people in space at any given moment

License

Notifications You must be signed in to change notification settings

proxiex/iss_location_api

Repository files navigation

ISS Location API

Build Status Coverage Status

An API that shows the current location of the International Space Station. The number of people in space at any given moment

TECHNOLOGIES USED


  • Back-end: Node.js, Express.js
  • Database: MongoDB

Usage

  • Clone or download the repo
  • npm install - to install the dependencies needed by the app
  • create a .env file, insert data as seen in .env.example file
  • npm start - to run the app

API ENDPOINTS


Request End Point Action Response Data
POST /api/v1/auth/signup Create a new user {
username: 'string',
email: 'string'
password: 'string'
}
POST /api/v1/auth/login Logs in user {
email: 'string'
password: 'string'
}
POST api/v1/iss/location Add user ISS location search history {
location: {
  latitude: {
   type: String,
 },
  longitude: {
   type: String,
 }
},
altitude: {
 type: String
},
datetime: {
 type: String
},
passes: [
 {
  risetime: String,
  duration: String,
 }
 ],
}
GET api/v1/iss/location Get user ISS location search history null

About

An API that shows the current location of the International Space Station. The number of people in space at any given moment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published