Skip to content

Ibnekhalid#37

Merged
MIbnEKhalid merged 20 commits intoTestfrom
ibnekhalid
Apr 12, 2025
Merged

Ibnekhalid#37
MIbnEKhalid merged 20 commits intoTestfrom
ibnekhalid

Conversation

@MIbnEKhalid
Copy link
Copy Markdown
Owner

No description provided.

MIbnEKhalid and others added 19 commits April 5, 2025 22:39
- Added express-session and connect-pg-simple for session handling with PostgreSQL.
- Implemented cookie-parser for managing cookies.
- Updated login and logout routes to utilize new session management.
- Introduced reCAPTCHA verification during login for enhanced security.
- Added middleware for validating user sessions and roles.
- Refactored user authentication logic and error handling.
- Integrated Deepseek API for AI responses alongside existing Gemini API.
- Improved chat interface with new styles and functionality for code blocks.
- Updated package.json with new dependencies including body-parser, express-session, and speakeasy.
- Updated package.json to change the start script to use nodemon.
- Modified logout.js to point to the new logout API endpoint.
- Removed the auth.js file as it is no longer needed.
- Cleaned up main.js by removing unused imports and session management logic, and integrated new session validation and role checking from mbkauthe.
- Updated pool.js to export the database connection instance.
- Deleted validateSessionAndRole.js as its functionality has been integrated elsewhere.
- Added Deepseek API integration in main.js for AI responses.
- Updated chatbot.handlebars to include DeepSeek as a model option.
- Changed login API endpoint in login.handlebars to the new mbkauthe path.
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
chat-api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 12, 2025 4:16am

@MIbnEKhalid MIbnEKhalid merged commit 7f9c7e3 into Test Apr 12, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant