Figma diagrams start really zoomed out on Notion for some reason - you can zoom in on mac by doing cmd+ or by pinching out with two fingers
<aside> 💡 The backend repo, unlike the frontend repo, is not using TypeScript.
</aside>
Main files 🌟
app.js and server.js - former configures server and exports it for shared use, latter starts this server and serves as the main point of entry
models - our class schemas
routes - our HTTP endpoints
test - our unit tests, one test file per route file
simulator - our BruinBot "simulator" which is basically a script that bombards the backend server with HTTP requests, such as location updates.
Configuration files 🎾
.github/workflows - configuration files for GitHub Actions CI/CD
main.yml - automated linting and tests on each pull requestaws.yml - automated deployment upon each PR merge to main.env - file storing secret environment variables such as AWS keys, never committed to GitHub. To obtain this file, ask someone on the team for it..eslintrc - configuration for lintingmigration.js - configuration for mongoose migrationsDockerfile - instructions for packaging the code into a Docker image, which is used for productionecs-task-def - don't touch this, unless you know what you are doing. Configures our production services on AWS ECS