A back-office quoting app for a fictional travel agency, built as a full-stack developer challenge: React + Material-UI on the front, a FeathersJS REST API with a Sequelize-managed SQL database behind it.
The brief. Wet Bat, an imaginary national travel agency, writes around 200 quotes a day and wanted an easy-to-use back office for its staff. The MVP asked for a relational database with migrations, a React frontend built on a UI framework, a list of quotes and a detail screen for each one, where a quote holds the departure and destination (ideally airports), travel dates, number of travellers, transportation and the customer's contact details. The brand palette and a dashboard mockup came with it.
What I built.
- Dashboard with live KPIs (open quotes, booked revenue, conversion rate, customers), a New quote form, a world map plotting the latest destinations, and widgets for top destinations by value and upcoming departures.
- Quotes table with per-column filtering, sorting and pagination, plus inline view, edit and delete (with confirmation).
- Quote detail page with the route, dates, trip length, travellers, transport and price, a map of both airports, the customer's contact card, a one-click Email quote and a Convert to booking action, the first step of the "quotes into services" workflow in the brief.
- Customers list and a validated new-customer form (react-hook-form). A customer can also be created from inside the quote form without losing what's been entered.
- Global search across quotes, customers and airports, and a notification bell for trips departing in the next 14 days.
- Airport autocomplete over a few thousand airports seeded from a JSON dataset, searchable by code, city or airport name.
- Date pickers that won't accept past dates or a return before the departure, and validation that the two airports differ.
Under the hood.
- API: FeathersJS services for
/quotes, /contacts and /airports, generated with the Feathers CLI. After hooks attach the full contact and both airport records to every quote response, so the client renders a quote from a single request instead of three.
- Database: Sequelize models with a one-to-many contacts -> quotes relation (cascading deletes), migrations for the schema, and seeders for the airports and demo data. Developed against MariaDB in Docker (with phpMyAdmin), then swapped to SQLite for deployment by changing the dialect, which is the point of using an ORM. Seeding the airports hit MySQL's 3-byte
utf8 limit on a Turkish city name (the dotless i), fixed with a binary collation.
- Frontend: React 16 with hooks, the Context API with
useReducer for global state instead of Redux, React Router, react-table, and Material Dashboard Pro components restyled to Wet Bat's palette.
- Deployment: Docker images for both services and a Compose file that runs the whole stack with one command.