NASA Mission Control Project The completed version of our NASA project from Complete Node.js Developer: Zero to Mastery.
- cors: Node.js CORS middleware.
- csv-parse: CSV parsing implementing the Node.js
stream.Transform
API. - express: Fast, unopinionated, minimalist web framework.
- mongoose: Mongoose MongoDB ODM.
- pm2: Production process manager for Node.JS applications with a built-in load balancer.
- jest: Delightful JavaScript Testing.
- nodemon: Simple monitor script for use during development of a node.js app.
- supertest: SuperAgent driven library for testing HTTP servers
- Ensure you have Node.js installed.
- Create a free Mongo Atlas database online or start a local MongoDB database.
- Create a server/.env file with a MONGO_URL property set to your MongoDB connection string.
- In the terminal, run: npm install
- In the terminal, run:
npm run deploy
- Browse to the mission control frontend at localhost:8000 and schedule an interstellar launch!
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