Pluto is a hotel management REST API with a token based authentication system that performs use-case targetted functionalities to manipulate database data to publish available rooms to a channel manager and synchronizes it across all OTA platforms. Built with vanilla PHP.
Verb | URI | Action | Route Name |
---|---|---|---|
GET | /rooms |
index | rooms.index |
POST | /users/create |
create | hotels.create |
POST | /sessions |
login | sessions.create |
POST | /rooms |
store | rooms.create |
GET | /rooms/{id} |
show | rooms.show |
PUT/PATCH | /rooms/{id} |
update | rooms.update |
PUT/PATCH | /sessions/{id} |
token refresh | sessions.update |
GET | /rooms/available |
show | rooms.showAvailable |
GET | /rooms/unavailable |
show | rooms.showAvailable |
DELETE | /rooms/{id} |
destroy | rooms.delete |
DELETE | /sessions/{id} |
logout | sessions.delete |
- Robust API developed using only pure PHP.
- Performs CRUD operations on a MySQL database.
- Caching system for faster data retrieval.
- Token based authentication system.
- Password encryption for security.
- Industry standard endpoints.
- API testing done via Postman
- Databased used: MySQL hosted via Clever Cloud
MIT
Portfolio supreeth.live · GitHub @supreeth7 · Instagram @iam.supreeth