mirror of https://github.com/buster-so/buster.git
- Return 412 PRECONDITION_FAILED for permission/workspace access errors - Return 404 NOT_FOUND for chat not found errors - Keep 500 INTERNAL_SERVER_ERROR as fallback for other errors - Addresses BUS-1423 Co-Authored-By: Dallin Bentley <dallinbentley98@gmail.com> |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml | ||
README.md |
README.md
Buster Server
This directory contains the main server code for the Buster API. It provides the API endpoints, WebSocket handlers, and application logic for the Buster application.
Structure
src/
- Main server coderoutes/
- API endpoints (REST, WebSocket)utils/
- Shared utilitiestypes/
- Common type definitions
Development
To run the server in development mode:
# From the project root
make dev
# Or to run with faster feedback loop
make fast
Dependencies
The server depends on the following local libraries:
database
- Database access and modelshandlers
- Business logic handlersmiddleware
- HTTP middleware componentsquery_engine
- SQL query enginesharing
- Asset sharing functionalitysearch
- Search functionality
All dependencies are inherited from the workspace Cargo.toml.