Hospitality · Website with hotel management system
Hotel Avenida CCH
Website and system for a hotel in Carlos Chagas: live vacancy, booking requests, front desk, housekeeping and room charges.

- Client
- Roadside hotel in downtown Carlos Chagas, a stop on the route to the Bahia coast
- Where
- Carlos Chagas, MG, Brazil
- Technology
- PHP · MySQL · PDO · JavaScript · Tailwind CSS · Chart.js
- Status
- Live · hotelavenidacch.com.br
- Development
- André Gomes · NexiaLabs
In short
Hotel Avenida CCH is the website and management system of a hotel in downtown Carlos Chagas, Minas Gerais, built by André Gomes at NexiaLabs. The site shows free rooms for the chosen dates and takes booking requests. The panel handles bookings, guest arrival and departure, occupancy map, housekeeping, a point of sale for room charges, expenses and reports, through a PHP and MySQL API.
The client
Hotel Avenida is on Avenida Capitão João Pinto, in downtown Carlos Chagas, on the way for people driving from Minas Gerais to Porto Seguro, Prado, Arraial d'Ajuda and Cumuruxatiba. It hosts truck drivers, sales reps and traveling families, with single, double and group rooms. Some rooms have a private bathroom and others share one. The hotel also sells consumables to guests.
The challenge
Travelers on the road want to know in seconds, on their phone, whether there is a room. Inside, the front desk needed to know which rooms are occupied, waiting for cleaning or under maintenance, and post each guest's consumption to the room bill. At departure, everything had to close in a single invoice. And the owner needed revenue and expense reports without building spreadsheets.
What was built
The public site has a date search that queries the API and lists only available rooms, with amenities derived from the room type and an estimated stay total. Guests send a booking request that enters the system as pending. The panel covers bookings, arrival and departure, room changes, a monthly occupancy map, housekeeping with cleaning and maintenance release, a point of sale that posts to the room or as a walk in sale, invoices, expenses, guest records with history, users and a deletion log. Rules such as availability, rate calculation, arrival, departure and payment were split into JavaScript modules with their own tests.
What the system does
- Free room search by date on the site, with an estimated stay total.
- Online booking request that reaches the panel as pending.
- Arrival, departure and room change with booking history.
- Monthly occupancy map for every room.
- Housekeeping with rooms waiting for cleaning and under maintenance.
- Point of sale that posts to the room bill or as a walk in sale, with stock control.
- Departure invoice, expenses, dashboard with charts and reports.
- Global search, guest records with history and a deletion log.
// For whoever reviews the code: architecture and decisions.
Under the hood
The system runs on Hostinger shared hosting and is split between a PHP API using PDO and MySQL and a front end in HTML, JavaScript and Tailwind CSS. The API has a single entry point that receives the requested action and covers around sixty operations, from bookings to settings. Login checks the password with password_verify and returns a random token with an expiry, which is then sent in the header of every call. Missing tables are created by the API itself. The panel uses Chart.js for the dashboard charts.
Technical decisions
- Show only rooms free for the requested dates, because people on the road decide fast.
- Site bookings enter as pending, so the front desk confirms before locking the room.
- A random token with expiry stored in the database, instead of a session, so the panel talks to the API through a header.
- Booking, rate and payment rules in separate tested modules, so one rule can change without breaking another.
Does your business look like this one?
Fits a small town hotel, inn or motel that needs to manage rooms, cleaning and room charges without paying for expensive hotel software.
Frequently asked questions
Who developed Hotel Avenida CCH?
Hotel Avenida CCH was developed by André Gomes Andrade, a full stack developer from Carlos Chagas, Minas Gerais, Brazil, at NexiaLabs, from planning to launch.
Where is the client of Hotel Avenida CCH based?
Roadside hotel in downtown Carlos Chagas, a stop on the route to the Bahia coast. Carlos Chagas, MG, Brazil.
Which technologies were used to build Hotel Avenida CCH?
Hotel Avenida CCH uses PHP, MySQL, PDO, JavaScript, Tailwind CSS, and Chart.js.
Can you build a similar project for my business?
Yes. Every project is custom built, with code and accounts in the client's name. The first step is a WhatsApp conversation at +55 (33) 98465 6356 to understand what you need.
More hospitality projects

Cacimbah Casa de Praia
Vacation rental site in Caraíva that shows free dates instantly and sends direct bookings to WhatsApp.
Vacation rental house with three suites in the center of Caraíva village
See the project
Brisa Cumuru
Website for a clifftop house in Cumuruxatiba that checks dates instantly and sends a ready booking to WhatsApp.
Vacation house with two suites on top of the cliffs, between Cumuruxatiba and Prado
See the project