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