

What needed solving
A beauty specialist needs a website that shows the work and results, while booking, the questionnaire, confirmation and reminders run on their own, without long back-and-forth messaging.
What the client sees and does
Specialist website
Hero section, the approach, certificates and diplomas, treatments with photos, duration, price and full description, before-and-after, reviews.
Online booking
Choosing a treatment, date and available time. Booking statuses: pending, confirmed, declined, cancelled, completed.
Rescheduling and cancellation
The client reschedules or cancels a booking themselves.
Pre-treatment questionnaire
Personal details, a “Health” section, a “Skin and care” section and three consents: the data is correct, possible reactions are understood, consent to data processing. The questionnaire can be skipped and completed later.
Personal account
My bookings, visit history, profile, notifications, and the specialist's treatment notes they chose to share.
Chat with the specialist
Chat on the website and in Telegram: messages are synced.
Review after the visit
Rating, text and photo for a completed visit. A review appears on the website after the specialist approves it.
Promo code
The client enters a code when booking; the system checks it and applies the discount.
Booking without sign-up
A separate mobile page for the social media profile: services, address, schedule, booking by phone number.
Booking in a Telegram bot
A mini dialog in the bot chat: treatment, date, time. A booking can be made without visiting the website.
Login
Email and password, Google, Telegram, password recovery via an email link.
What the specialist does in the dashboard
Schedule
Working hours and slots: free, booked, closed. Clients see only free time.
Bookings
Confirm, decline, complete, cancel, archive. Manual booking on behalf of a client: confirmed immediately, with overlap checks against other bookings.
Clients
A list with search by name, a card with booking history, notes, block and unblock, creating and editing clients.
Client questionnaires
Viewing the completed questionnaire and editing by the specialist.
Questionnaire editor
Questions in the “Health” and “Skin and care” sections are edited without a developer: “yes/no”, “yes/no with details”, “free text”, order and on/off. Forms that are already filled in don't break.
Treatment notes
Skin type, sensitivity, dehydration, condition, care plan, comment. For each item the specialist decides whether to show it to the client.
Notifications
Reminders 24 hours and 1 hour before, confirmation, decline, new message, new review, new sign-up. Templates with formatting and an image are edited in the admin panel; channels: Telegram and email.
Mailings
A message to clients with a recipient count shown before sending.
Coupons
Promo codes for a percentage or fixed discount, with an expiry date, once per client.
Analytics
New clients, bookings by status, earnings. Periods: today, 7 days, 30 days, month or custom dates, with charts by day, week and month.
Website content
Services, photos, before-and-after portfolio, certificates, home page, specialist profile. The specialist adds reviews from social media manually.
What security measures are in place
The questionnaire and bookings hold clients' health data and contacts, so access is strictly separated.
Passwords
The password is stored only as an irreversible hash (bcrypt). Password reset via a one-time, time-limited link; only the link's hash is stored in the database.
Roles and access
Client and administrator are separated on the server: every specialist request goes through a role check. A client sees only their own bookings, questionnaire and messages.
Telegram login verification
Telegram login data is verified by cryptographic signature with constant-time comparison; stale data is rejected.
Lockout
The specialist can block a client: login and booking are closed for them.
Protecting bookings without sign-up
No more than 5 bookings in 10 minutes from one address and no more than 3 per hour per phone number. Numbers are normalized, and a failed attempt leaves no empty client records.
File upload
Logged-in users only; JPG, PNG, WEBP, GIF and PDF only, up to 8 MB, with random file names.
Data validation
All incoming data is validated against a schema and extra fields are dropped. CORS is open only to the site's own address.
Coupons that can't be bypassed
Single use is checked on the server within the same operation as the booking, so double use from simultaneous clicks is impossible.
Consents and privacy
The client's three consents are stored together with the questionnaire, and the website has a privacy policy. Questionnaire answers keep their original wording, so editing questions doesn't change answers already submitted.
Bot reliability
The state of the Telegram booking dialog is stored in the database, so a server restart doesn't lose it. The bot only messages people who wrote to it first.
Result
The client sees the work and prices, books in three ways and fills in the questionnaire before the visit, while the specialist manages bookings, questionnaires, notifications and analytics in one dashboard.