This NodeJS application adds the public ip address of the device it's run on to the Network Access list by using the MongoDB Atlas REST-API.
- Clone this repository
- Run
npm install
to install the dependencies - Generate a MongoDB Atlas API-Key
- Grant permissions to your project (Project Owner)
- Copy
.env.sample
todev.env
|prod.env
|qa.env
and add the desired settings npm run build
to compile typescriptnpm run start:[prod|qa|dev]
to run the updater on your desired environment
TODO: Document setup