mirror of
https://github.com/geoffsee/open-gsio.git
synced 2025-09-08 22:56:46 +00:00

- Moved `providers`, `services`, `models`, `lib`, and related files to `src` directory within `server` package. - Adjusted imports across the codebase to reflect the new paths. - Renamed several `.ts` files for consistency. - Introduced an `index.ts` in the `ai/providers` package to export all providers. This improves maintainability and aligns with the project's updated directory structure.
21 lines
1020 B
Markdown
21 lines
1020 B
Markdown
# @open-gsio/server
|
|
|
|
This directory contains the server component of open-gsio, a full-stack Conversational AI application. The server handles API requests, manages AI model interactions, serves static assets, and provides server-side rendering capabilities.
|
|
|
|
## Directory Structure
|
|
|
|
- `__tests__/`: Contains test files for the server components
|
|
- `services/`: Contains service modules for different functionalities
|
|
- `AssetService.ts`: Handles static assets and SSR
|
|
- `ChatService.ts`: Manages chat interactions with AI models
|
|
- `ContactService.ts`: Processes contact form submissions
|
|
- `FeedbackService.ts`: Handles user feedback
|
|
- `MetricsService.ts`: Collects and processes metrics
|
|
- `TransactionService.ts`: Manages transactions
|
|
- `durable_objects/`: Contains durable object implementations
|
|
- `ServerCoordinator.ts`: Cloudflare Implementation
|
|
- `ServerCoordinatorBun.ts`: Bun Implementation
|
|
- `router.ts`: API Router
|
|
- `RequestContext.ts`: Application Context
|
|
- `server.ts`: Main server entry point
|