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
- Ensure you have Node.js installed.
- Create a MongoDB Atlas free database account or you can start a local MongoDB database.
- Create a .env file in the server directory with a
MONGO_URL
property set to your MongoDB connection string. - Run
npm install
- In the terminal run:
npm run deploy
- View the Mission Control Project frontend at localhost:8000 and schedule a launch!
- Install the latest versiob of Docker.
- Run
docker build -t nasa-project
- Run
docker run -it -p 8000:8000 nasa-project
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