FastAPI BackendConnecting...
Probing...

http://127.0.0.1:8000/health

Next.js FrontendActive (Port 3000)
Next.js 14 App Router

Client & Server Components with API proxy

Proxy Route/api/v1/:path* → :8000
Database EnginePostgreSQL / Async SQLite
Multi-Tenant SQL

Tenant ID partitioning with auto-seeding

Demo Schoolfastack-academy

Live API Trigger Console

Click any test button below to trigger real HTTP requests from Next.js to FastAPI. Watch the status code, latency, and live payload update!

💡 Open F12 > Network in your browser or check your uvicorn terminal
GET/health

1. Health Check

Pings the FastAPI system status, version, and running environment.

GET/public/school

2. Fetch School Profile

Queries PostgreSQL for branding, contacts, and feature flags for demo tenant.

POST/public/ai/chat

3. 24/7 AI Admissions Bot

Sends tuition query to the AI counselor backend and returns the dynamic answer.

POST/public/inquiries

4. Submit Admission Enquiry

Inserts a lead record into PostgreSQL and generates a reference code.

POST/auth/login

5. Super Admin JWT Login

Authenticates with Bcrypt and returns a signed HS256 JWT access token.

POST/auth/login

6. School Admin JWT Login

Authenticates school office account (`admin@fastackdemo.edu`).

Network Request Log (0)

No requests sent yet.
Click any trigger button above to initiate an API call!

Live Response Inspector

Select any API call from the left to inspect its headers, payload, and response.

3 Ways to Verify API Calls in Real Time

1. Terminal Logs

In your backend terminal running uvicorn, watch each incoming request logged with timestamp, path, and 200 OK status.

2. Browser Network Tab

Press F12 or Right Click > Inspect > Network tab. Filter by Fetch/XHR to see every request with headers and payload.

3. Live Swagger Docs

Open http://localhost:8000/api/v1/docs to interactively test all endpoints with Swagger UI.