AI research platform for biomedical and regulatory information analysis. Built with buildless SolidJS frontend and Express.js backend with multi-provider AI integration.
# Start full development environment
docker compose up --build -w
# Run tests
cd client && npm test # Frontend tests (Playwright)
cd server && npm test # Backend tests (Jest)
Access: https://localhost (ignore cert warnings for dev)
Important: Client must be served through server (needs HTTPS, OAuth, API proxy)
Component | Technology | Key Features |
---|---|---|
Frontend | Buildless SolidJS, CDN deps | Chat interface, custom test framework, client-side ML |
Backend | Express.js, PostgreSQL | Multi-provider AI, research tools, authentication |
Infrastructure | AWS CDK | Container deployment |
Key Gotcha: Buildless SolidJS - no webpack/vite, dependencies via CDN import maps
What | Where | Notes |
---|---|---|
Chat Interface | pages/tools/chat/ |
Main app feature with streaming AI |
Custom Tests | test/index.js |
Jest-like framework, runs in real browser |
Dependencies | index.html |
Import maps point to CDN, no npm install |
Components | components/ |
Use html tagged templates, not JSX |
Development:
cd client
npm install # Installs Playwright only
npm test # Run custom test framework
Key Services:
What | Where | Purpose |
---|---|---|
AI Integration | services/inference.js |
Multi-provider AI with streaming |
API Routes | services/routes/ |
model, tools, auth, admin endpoints |
Database | services/database.js |
PostgreSQL with Sequelize ORM |
Research Tools | services/routes/tools.js |
Search, translation, web proxy |
Key Features:
- Multi-provider AI (AWS Bedrock, Google Gemini)
- Web browsing proxy for CORS bypass
- OpenID Connect authentication
- Usage tracking and rate limiting
Development:
cd server
npm install
cp .env.example .env # Configure environment
npm run start:dev # Watch mode
npm test # Jest test suite
Essential .env
variables:
AWS_ACCESS_KEY_ID
,AWS_SECRET_ACCESS_KEY
- For AI modelsPGHOST
,PGUSER
,PGPASSWORD
- Database connectionSESSION_SECRET
- Cookie signingOAUTH_CLIENT_ID
,OAUTH_CLIENT_SECRET
- Authentication
For comprehensive guides and API references:
client/README.md
- SolidJS development patterns, component guide, test framework detailsserver/README.md
- API documentation, database models, provider integrationinfrastructure/
- AWS CDK deployment configuration