Sign inSign up

yashpurwar2004/converso-backend

By yashpurwar2004

Updated 7 months ago

AI customer support platform backend built with Spring Boot 4, Java 21, MongoDB Atlas, and Gemini AI

Image
Languages & frameworks
API management
Machine learning & AI
0

10K+

yashpurwar2004/converso-backend repository overview

Converso Backend

AI-powered customer support platform backend built with Spring Boot 4 and Java 21.

Tech Stack

  • Framework: Spring Boot 4
  • Language: Java 21
  • Database: MongoDB Atlas
  • AI: Google Gemini 2.5 Flash
  • Auth: JWT + Spring Security
  • Mail: Gmail SMTP

Quick Start

Create a .env file in the same directory as your docker-compose.yml:

SPRING_MONGODB_URI=your-mongodb-atlas-uri
SPRING_MONGODB_DATABASE=CONVERSO
JWT_SECRET=your-jwt-secret
AI_GEMINI_API_KEY=your-gemini-api-key
AI_GEMINI_CHAT_MODEL=gemini-2.5-flash
AI_GEMINI_EMBEDDING_MODEL=gemini-embedding-001
AI_GEMINI_BASE_URL=https://generativelanguage.googleapis.com
SPRING_MAIL_HOST=smtp.gmail.com
SPRING_MAIL_PORT=587
[email protected]
SPRING_MAIL_PASSWORD=your-app-password
SPRING_SECURITY_USER_NAME=admin
SPRING_SECURITY_USER_PASSWORD=yourpassword

Then run:

docker run -p 8081:8081 --env-file .env your-dockerhub-username/converso-backend:latest

Or with Docker Compose:

services:
  app:
    image: yashpurwar2004/converso-backend:latest
    container_name: converso-backend
    ports:
      - "8081:8081"
    env_file:
      - .env
    restart: unless-stopped
docker compose up

API

Once running, the API is available at:

http://localhost:8081

Notes

  • All secrets are injected via environment variables — never hardcoded
  • Requires an active MongoDB Atlas cluster
  • Requires a Google Gemini API key
  • For Gmail SMTP, use an App Password not your account password

Tag summary

Content type

Image

Digest

sha256:0a3e12182

Size

172.4 MB

Last updated

7 months ago

docker pull yashpurwar2004/converso-backend