This is the backend API for a fullstack ChatGPT-style web application, built with ASP.NET Core, and integrated with Google Gemini for generative AI to stream answers to the UI.
- ASP.NET Core Web API
- Entity Framework Core with SQL Server
- JWT Authentication (Google ID Tokens)
- Swagger/OpenAPI for API documentation
- Dependency Injection (BL/DAL/DAO pattern)
- Google Gemini API integration
- Uses JWT Bearer authentication via Google Sign-In.
- API endpoints are secured with middleware that validates ID tokens issued by Google.
- Gemini (Google): Configured with Gemini Flash 2.0 model, via API key and custom domain.
You can find the frontend repository here:
👉 Frontend Repo
📁 Project Structure
askJiffy_service/Controllers/– Handles incoming requests from the frontendBusiness/– Business logic layer (BL, DAL)Models/– Data modelsRepository/– Data access layer (DAOs)Services/– Extensions and service registrationProgram.cs– Application entry and DI setup