Table of Contents
NASA dashboard app for managing and monitoring spaceflights to habitable planets in the observable universe.
- Javascript
- React
- Node.js
- Express
- MongoDB
- Jest
- Docker
- AWS
This project require some prequesites and dependenscies to be installed, you can find the instructions below :
To get a local copy, follow these simple steps :
-
Clone the repo
git clone https://github.com/SayedShehata1/NASA-Mission-Control.git
-
go to project folder
cd NASA-Mission-Control
-
install dependenscies
npm run install
-
Enviromental Variables Set up
- Here are the environmental variables that needs to be set in a .env file. This is the default setting that I used for development, but you can change it to what works for you.
PORT = 8000 MONGO_URL = <Your mongoDB url>
-
Change API_URL to
"http://localhost:8000/v1"
in "./client/src/hooks/requests.js" -
Create a build directory
npm run deploy
-
Run development server
npm run server
- FrontEnd Server runs on port
3000
- Backend Server runs on port
8000
-
Planets
- Index: http://localhost:8000/v1/planets [get]
-
Launches
- Index: http://localhost:8000/v1/launches [get]
- Create: http://localhost:8000/v1/launches [post]
- Delete: http://localhost:8000/v1/launches/:id [delete]
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
If you have error message "error:0308010C:digital envelope routines::unsupported" while running the server
On Unix-like (Linux, macOS, Git bash, etc.):
export NODE_OPTIONS=--openssl-legacy-provider
On Windows command prompt:
set NODE_OPTIONS=--openssl-legacy-provider