Backend API Server

✅ Server Online & Connected

🌐 API Documentation

RESTful API for ABS Trafikskola driving school management system

Database: MongoDB Atlas | Port: 8000 | Status: Active

🏠 Home Content

GET/api/home-content
Fetch hero section and homepage content

🖼️ Gallery Management

GET/api/gallery/public
Get public gallery items
GET/api/gallery
Get all gallery items (admin)
POST/api/gallery
Create new gallery item

📚 Course Management

GET/api/courses
Get all available courses
GET/api/courses/:id
Get specific course details
POST/api/courses
Create new course (admin)

📅 Booking System

POST/api/bookings
Create new booking request
GET/api/bookings
Get all bookings (admin)
PUT/api/bookings/:id
Update booking status

📞 Contact & Communication

POST/api/contact
Submit contact form
GET/api/contact
Get contact messages (admin)

🔐 Authentication

POST/api/auth/login
Admin login
POST/api/auth/logout
Admin logout
GET/api/auth/me
Get current user info

📊 Dashboard & Reports

GET/api/dashboard/stats
Get dashboard statistics
GET/api/reports
Generate various reports

🎯 Additional Services

GET/api/schedules
Get available schedules