Skip to content

rizamoyi/nasa-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NASA Mission Control Project

This project uses data from NASA as well as the SpaceX REST API to shedule space missions to habitable Kepler Exoplanets. Deployed using Docker on AWS Amazon EC2 instance

Launch

Launch

Upcoming Launches

Upcoming

History of Launches

History

Getting Started

  1. Ensure you have Node.js installed.
  2. Create a MongoDB Atlas free database account or you can start a local MongoDB database.
  3. Create a .env file in the server directory with a MONGO_URL property set to your MongoDB connection string.
  4. Run npm install

Running the Project

  1. In the terminal run: npm run deploy
  2. View the Mission Control Project frontend at localhost:8000 and schedule a launch!

Docker

  1. Install the latest versiob of Docker.
  2. Run docker build -t nasa-project
  3. Run docker run -it -p 8000:8000 nasa-project

Running Tests

To run all tests run npm test. This will run tests for both the client and server.

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

Releases

No releases published

Packages

No packages published