Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.24 KB

README.md

File metadata and controls

32 lines (20 loc) · 1.24 KB

NASA Mission Control Project

The completed version of a NASA project, built in NodeJs and React. It schedules mission launches for interstellar travel to one of the Kepler Exoplanets.

The UI for the React frontend is built with the awesome ARWES library.

This project is for educational purposes only and a demonstration of NodeJs capabilities as a backend technology.

Getting Started

  1. Ensure you have Node.js installed.
  2. Create a free Mongo Atlas database online or start a local MongoDB database.
  3. Create a server/.env file with a MONGO_URL property set to your MongoDB connection string.
  4. In the terminal, run: npm install

Running the Project

  1. In the terminal, run: npm run deploy
  2. Browse to the mission control frontend at localhost:8000 and schedule an interstellar launch!

Docker

  1. Ensure you have the latest version of Docker installed
  2. Run docker build -t nasa-project .
  3. Run docker run -it -p 8000:8000 nasa-project

Running the Tests

To run any automated tests, run npm test. This will:

  • Run all the client-side tests: npm test --prefix client
  • Run all the server-side tests: npm test --prefix server