Welcome to the backend API for sawaribd.com!
This API serves as the backend for sawaribd.com, providing endpoints for managing users and bike information seamlessly.
Role-Based Access:
- Admin: Full access to create, read, update, and delete (CRUD) data across all endpoints.
- Moderator: Can edit existing records (read and update access).
- User: View-only access to retrieve data.
Available Endpoints:
-
Authentication (auth):
- Admin: Manage all user roles and authentication settings.
- Moderator: Cannot access authentication settings.
- User: Only able to log in and access their data.
-
Users: Manage user profiles.
- Admin: Can create, read, update, and delete any user profile.
- Moderator: Can edit user profiles but not delete them.
- User: Can view their own profile only.
-
Bike Information: Manage and retrieve bike data.
- Admin: Full CRUD access to manage all bike data.
- Moderator: Can update and edit bike records.
- User: Can view available bike information.
-
Activity Logs: View user activity history.
- Admin: Can view all activity logs.
- Moderator: Can view activity logs for users they manage.
- User: Can view only their own activity logs.
API Documentation:
Comprehensive API documentation is available at:
https://api.sawaribd.com/docs
Contact Information:
- Name: Sawari BD Support
- Email: contact@sawaribd.com
- Phone: 01700000000