The API gateway for Aerie.
- Join us on the NASA-AMMOS Slack (#aerie-users)
- Contact [email protected]
First make sure you have Node.js LTS installed.
If you are doing active local development outside of a container, duplicate the .env.template
and rename it to .env
. Set the default GATEWAY_DB_USER
, GATEWAY_DB_PASSWORD
, and HASURA_GRAPHQL_JWT_SECRET
environment variables.
If your Hasura instance is not hosted on http://localhost:8080
, update the value of HASURA_API_URL
in the .env
as well. Afterwards, run the following:
npm install
npm run dev
This will watch for code changes and rebuild and restart the gateway server automatically.
If you are running Aerie Gateway within a container (i.e. the docker-compose from the main Aerie repo), run the following before starting the container:
npm install
npm run build
npm start
The scripts and documentation in this project are released under the MIT License.