Travion Backend API

v1.0.0
Server Running

Available Endpoints

GET /api/1/health
Health check endpoint - Check if the server is running properly
POST /api/1/auth/register
Register a new user account
POST /api/1/auth/login
Login with email and password (returns JWT + cookie)
GET /api/1/auth/google
🚀 Login with Google OAuth - Redirects to Google signin
GET /api/1/auth/google/callback
Google OAuth callback - Handles Google authentication response
GET /api/1/auth/profile
Get current user profile (requires authentication)
POST /api/1/auth/logout
Logout user and clear authentication cookies