3,561 prompts from top AI collections
← Back to Market
[UNTESTED] [DavFilsDev/zenithAI-backend] 3 endpoint(s)
Gemini API Proxy/Gemini
2,270 characters
Status: [LIVE] Endpoints found: https://zenith-ai-backend-t45i.onrender.com/api/v1 https://zenith-ai-backend-t45i.onrender.com/api/v1/health/live/` https://zenith-ai-backend-t45i.onrender.com/api/v1/health/live/ Source: https://github.com/DavFilsDev/zenithAI-backend # Zenith AI — Backend Django REST Framework backend for Zenith AI: authentication, conversations, messages, and a server-side connection to a free LLM provider. [![Tests](https://github.com/DavFilsDev/zenithAI-backend/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/DavFilsDev/zenithAI-backend/actions/workflows/tests.yml) The product is **free and open to everyone**: no credits, no premium tier, no payment, and a target infrastructure cost of 0 €. - Frontend repository: `zenithAI_react-typescript-frontend`, served on `http://localhost:5173` in development; production deployment pending - Backend: `http://localhost:8000` in development, <https://zenith-ai-backend-t45i.onrender.com> in production - Shared API contract: [`docs/API_CONTRACT.md`](docs/API_CONTRACT.md) ## Stack | | | |---|---| | Language | Python 3.11 or newer | | Framework | Django 5.2, Django REST Framework | | Authentication | SimpleJWT, bearer tokens | | API schema | drf-spectacular, Swagger UI and ReDoc | | Database | PostgreSQL 15 or newer | | LLM | Google Gemini, through `google-genai` | ## Requirements - Python 3.11+ - [uv](https://docs.astral.sh/uv/), which installs the dependencies and the interpreter - PostgreSQL 15+, running locally - A free Google Gemini API key, only if you intend to call the chat endpoint ## Local setup ```bash git clone https://github.com/DavFilsDev/zenithAI-backend.git cd zenithAI-backend uv sync cp .env.example .env ``` `uv sync` creates a `.venv` and installs the exact versions pinned in `uv.lock`. Edit `.env`, then create the database and run the migrations: ```bash uv run python manage.py migrate uv run python manage.py runserver ``` The API is then available on `http://localhost:8000`, the admin on `http://localhost:8000/admin/`. Create an admin user with: ```bash uv run python manage.py createsuperuser ``` ## Docker Compose `docker compose up --build` starts PostgreSQL and the API, applies the migrations and serves the API
Download .txt