/SpaceAPI

Primary LanguageTypeScript

Install

npm install

Build

Build the Backend - >npm run build

the build Project will be in ./server

Develop

Build the Backend - >npm run dev

test the server after build

  • node server/index.js

DISCLAMIER

  • swagger only works for users,
  • rover and mission can only be checked by other means,

Auth

  • to use the different routes you need a jwtoken that is generated by the /auth/createToken
  • the key is set in body
  • to the different routes you need to put the token in the header as a bearer token