Major Features Implemented: - Full Vue.js 3 admin interface with Vite build system - OpenAI Chat Completions API integration (replaced deprecated Assistants API) - PostgreSQL database with Sequelize ORM - Complete conversation management system - User authentication system (admin@oliver.agency, user@oliver.agency) - AI-powered conversation title generation - Server-Sent Events for streaming responses - Conversation soft delete functionality - Rate limiting middleware with development bypass Backend Infrastructure: - Node.js/Express server with comprehensive error handling - Database models: User, Assistant, Conversation, Message - Chat API endpoints with full conversation history context - Conversation CRUD operations with soft delete - Migration and seeding scripts - Environment-based configuration Frontend Features: - Responsive Vue.js interface with router - Real-time chat with streaming responses - Conversation sidebar with delete functionality - Agent selection dropdown - Persistent user sessions with hash-based user IDs - Conversation history loading and continuity - Login system with user role management - Prominent logout functionality Technical Improvements: - Fixed conversation continuity by loading full message history - Implemented conversation title generation using GPT-4o-mini - Added conversation persistence mechanisms (periodic refresh, window focus) - Enhanced error handling and rate limiting - Proper environment variable management - Clean project structure with separated concerns 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
26 lines
No EOL
626 B
JSON
26 lines
No EOL
626 B
JSON
{
|
|
"name": "ideas-generator-2025-admin",
|
|
"version": "1.0.0",
|
|
"description": "Frontend for Ideas Generator 2025",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"serve": "vite preview --port 8080"
|
|
},
|
|
"keywords": ["vue", "vite", "ideas-generator"],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"vue": "^3.4.0",
|
|
"vue-router": "^4.2.5",
|
|
"axios": "^1.6.0",
|
|
"marked": "^11.1.1",
|
|
"highlight.js": "^11.9.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-vue": "^4.5.2",
|
|
"vite": "^5.0.10"
|
|
}
|
|
} |