Skip to content

docs: add backend contributing guide #18077

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 32 commits into from
May 30, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Repository Structure WIP
  • Loading branch information
mtojek committed May 28, 2025
commit a18e994b387130003b6ebdb574cc15346f53622b
13 changes: 5 additions & 8 deletions docs/contributing/backend.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,14 +104,11 @@ The Coder backend is organized into multiple packages and directories, each with
* [workspaceapps](https://github.com/coder/coder/tree/main/coderd/workspaceapps): core logic of a secure proxy to expose workspace apps deployed in a workspace
* [wsbuilder](https://github.com/coder/coder/tree/main/coderd/wsbuilder): wrapper for business logic of creating a workspace build. It encapsulates all database operations required to insert a build record in a transaction.
* [database](https://github.com/coder/coder/tree/main/coderd/database): schema migrations, query logic, in-memory database, etc.
* [db2sdk](https://github.com/coder/coder/tree/main/coderd/database/db2sdk)
* [dbauthz](https://github.com/coder/coder/tree/main/coderd/database/dbauthz)
* [dbauthz](https://github.com/coder/coder/tree/main/coderd/database/dbauthz)
* [dbfake](https://github.com/coder/coder/tree/main/coderd/database/dbfake)
* [dbfake](https://github.com/coder/coder/tree/main/coderd/database/dbfake)
* [dbgen](https://github.com/coder/coder/tree/main/coderd/database/dbgen)
* [dbmem](https://github.com/coder/coder/tree/main/coderd/database/dbmem)
* [dbmetrics](https://github.com/coder/coder/tree/main/coderd/database/dbmetrics)
* [db2sdk](https://github.com/coder/coder/tree/main/coderd/database/db2sdk): translation between database structures and [codersdk](https://github.com/coder/coder/tree/main/coderd/codersdk) objects used by coderd API.
* [dbauthz](https://github.com/coder/coder/tree/main/coderd/database/dbauthz): AuthZ wrappers for database queries, ideally, every query should verify first if the accessor is eligible to see the query results.
* [dbfake](https://github.com/coder/coder/tree/main/coderd/database/dbfake): helper functions to quickly prepare the initial database state for testing purposes (e.g. create N healthy workspaces and templates), operates on higher level than [dbgen](https://github.com/coder/coder/tree/main/coderd/database/dbgen)
* [dbgen](https://github.com/coder/coder/tree/main/coderd/database/dbgen): helper functions to insert raw records to the database store, used for testing purposes
* [dbmem](https://github.com/coder/coder/tree/main/coderd/database/dbmem): in-memory implementation of the database store, ideally, every real query should have a complimentary Go implementation
* [dbmetrics](https://github.com/coder/coder/tree/main/coderd/database/dbmetrics)
* [dbmock](https://github.com/coder/coder/tree/main/coderd/database/dbmock)
* [dbpurge](https://github.com/coder/coder/tree/main/coderd/database/dbpurge)
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy