NOTE: Make sure every change is covered by a unit test. If the change isn't covered, make sure to add a test for it.
-
Fork the repo, make changes, add tests, commit, and submit a Pull Request
-
New Pull Requests will automatically trigger a Travis CI Build
-
If the build fails, look at the Build Logs. Changes will not be merged unless the build passes.
-
If the build succeeds, the pull request will be merged, and automatically pushed to the staging server at http://stage.spacexdata.com/v2/ for a final check before promoting changes to production at https://api.spacexdata.com/v2/.
- Clone the repo
git clone https://github.com/r-spacex/SpaceX-API.git && cd SpaceX-API
- Install dependencies
yarn install
- Run ESlint and all tests
yarn test
- Start the app
yarn start