Skip to content

cloudydaiyz/vulture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vulture

This repository contains the backend and infrastructure for the project.

Prerequisites

  • terraform
  • node 20.x,
  • python ^3.10, and the respective Python dependencies installed from requirements.txt
  • aws CLI with credentials configured

Set Up

  1. Create a MongoDB Organization
  2. 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"
  1. 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.
  2. cd into the /scripts directory, and run python update_infra.py to deploy the infrastructure for the backend.

Debugging

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 folder
  • test-functions starts the debugging tool for the tests in the /functions folder