This is a full-stack web application for scheduling and managing rocket launches. It features a React-based frontend for an intuitive user interface, an Express backend for API logic and routing, and a MongoDB database managed through Mongoose for storing launch data.
Users can view upcoming missions, schedule new launches, and manage mission data in real time. Designed for scalability and performance, NP2 combines modern web technologies to deliver a smooth and responsive experience for aerospace operations and enthusiasts alike.
This project has a front-end and a back-end located in the client
and server
directories, respectively.
├── server/
│ ├── src/
│ ├── public/
│ └── ...
├── client/
│ ├── src/
│ ├── public/
│ └── ...
-
Clone the repository and navigate into the project directory:
git clone <your-repo-url> cd NP2
-
Install root-level dependencies:
npm install
-
Navigate to the
server
directory and install backend dependencies:cd server npm install
From the server
directory, start the app:
npm start
This will serve the static frontend and start the backend server.
From the root:
npm run install-server # npm install --prefix server
npm run install-client # npm install --prefix client
npm run install # npm run install-server && npm run install-client
npm run server # npm run watch --prefix server
npm run client # npm start --prefix client
npm run watch # npm run server & npm run client
npm run deploy # npm run build --prefix client && npm start --prefix server
npm run deploy-cluster # npm run build --prefix client && npm run cluster --prefix server
npm run test # npm test --prefix server && npm test --prefix client
- express – Fast, unopinionated, minimalist web framework for Node.js
- react – JavaScript library for building user interfaces
- mongodb – NoSQL document database for flexible, scalable data storage
- mongoose – Elegant MongoDB object modeling for Node.js