This repository contains the backend and infrastructure for the project.
terraform
node
20.x,python
^3.10, and the respective Python dependencies installed fromrequirements.txt
aws
CLI with credentials configured
- Create a MongoDB Organization
- Retrieve your account ID from the organization (or the account ID you want as the project owner) using the
Get All Organization Users
request:
curl -i -u "<username>:<apiKey>" --digest \
"https://cloud.mongodb.com/api/public/v1.0/orgs/<orgId>/users?pretty=true"
- Create a
variables.tfvars
file in the/cloud
directory, providing the corresponding definitions for the variables declared in/cloud/variables.tf
. View the docs for more about.tfvar
files. cd
into the/scripts
directory, and runpython update_infra.py
to deploy the infrastructure for the backend.
Debugging configurations for VSCode is enabled for this project in .vscode/launch.json
. View Debugging in VSCode for more about launch configurations.
test-library
starts the debugging tool for the tests in the/library
foldertest-functions
starts the debugging tool for the tests in the/functions
folder