1. Build order
| Step | What it adds | Test it by | Risk |
|---|
| 1 | Trek list and trek detail pages with sample data, phone-first | Open on your phone and tap each of the 4 treks | Low |
| 2 | English/Spanish switch at the top | Switch to Español, move between pages, check nothing stays in English | Low |
| 3 | Start date calendar with sample "not available" dates | Pick a trek and try a greyed-out date, a past date and a free date | Low |
| 4 | Booking form and price summary, nothing saved yet | Fill the form wrongly, then correctly, and check the deposit maths | Low |
| 5 | Saved data: treks, bookings and real availability | Make a test booking and see it in the database view, then fill a date | Medium |
| 6 | Password-protected owner page | Open the owner page in a private window and try a wrong password | High |
| 7 | Owner bookings list by date and marking a booking cancelled | Cancel a test booking and check the date frees up for tourists | Medium |
| 8 | Owner blocking dates | Block a few days and check tourists can't book treks that touch them | Medium |
| 9 | 30% card deposit with Stripe in test mode | Pay with a Stripe test card and check the booking turns "Confirmed" | High |
| 10 | Confirmation email with what to bring | Book with your own email in each language | High |
| 11 | Real content, Stripe live mode, publish | Make one real small booking with your own card, then refund it | High |
2. Step prompts
Step 1: Trek pages with sample data
Build a booking website called "Rosira Treks" for my trekking business in Cusco. Most tourists will use it on their phone, so design for phone screens first. It should still look fine on a computer.
Home page: show 4 trek cards: Salkantay (5 days), Lares (4 days), Ausangate (6 days) and Rainbow Mountain (day trip). Each card shows the name, length, price in USD per person and a "See trek" button.
Trek detail page for each trek: name, length in days, price in USD per person, max group size, a short description, 3 photos (use placeholder mountain photos for now) and a "Book this trek" button. The button can do nothing yet.
Max group sizes: Salkantay 10, Lares 8, Ausangate 6, Rainbow Mountain 12.
Placeholder prices, which I will replace later: Salkantay 650, Lares 550, Ausangate 750, Rainbow Mountain 80.
Use sample data only. No database, no sign-in and no payments yet.
Working when: on your phone you see 4 trek cards, and each one opens its own page with the right days, price, group size and 3 photos.
Step 2: English/Spanish switch
Add a language switch at the top of every page with two options: "EN" and "ES". English is the default.
When I tap ES, all text on every page switches to Spanish. That includes buttons, headings, trek descriptions and labels like "days" and "per person". The chosen language must stay the same when I move to another page and when I reload the page.
Every new screen we add from now on must have both English and Spanish text.
Working when: you tap ES, go from the home page into a trek page and reload it, and everything is still in Spanish.
Step 3: Start date calendar
When a tourist taps "Book this trek", show a "Choose your start date" page with a calendar for that trek.
- Past dates and today cannot be picked.
- Dates that are already full show greyed out with the label "Not available" / "No disponible" and cannot be picked. For now use made-up sample data: mark 3 or 4 dates in the next two months as full for each trek, and make them different for each trek.
- When the tourist picks a free date, show the start date and end date (for example Salkantay 5 days: start 10 March, end 14 March). Rainbow Mountain is one day, so start and end are the same.
- Then show a "Continue" button. It can do nothing yet.
The calendar must be easy to use with a thumb on a phone. No database yet.
Working when: greyed-out and past dates can't be tapped, and picking a free date shows the correct end date for that trek.
Step 4: Booking form and summary
When the tourist taps "Continue" after choosing a date, show a booking form with these fields:
- Name (required)
- Email (required, must look like a real email address)
- Country (required, a list to choose from)
- Number of people (required, from 1 up to the trek's max group size)
- Dietary needs (optional, free text, for example "vegetarian")
- Passport number (required, with a note: "Needed for Machu Picchu tickets")
If a required field is missing or wrong, show a clear message next to that field in the current language.
Below the form show a summary: trek, start and end date, number of people, total price (price per person × people), deposit to pay now (30% of the total) and the rest "to pay in cash in Cusco".
Add a "Continue to payment" button. For now it only shows a message: "Payment coming soon". Do not save anything yet.
Working when: Salkantay for 2 people shows total $1,300, deposit $390 and $910 in cash, and leaving out the passport number shows an error message.
Step 5: Save the data
Connect a database so the app saves real data. Use Lovable's built-in backend and guide me through any setup in plain words.
Store:
1. Treks: name, number of days, price in USD per person, max group size, description in English and Spanish, 3 photos. Move the 4 treks into here.
2. Bookings: trek, start date, name, email, country, number of people, dietary needs, passport number, language used, total price, deposit amount, status ("Pending payment", "Confirmed" or "Cancelled") and the time the booking was made.
3. Blocked dates: date and an optional reason. This stays empty for now.
Changes:
- "Continue to payment" now saves the booking with status "Pending payment" and then shows "Payment coming soon".
- Remove the sample full dates. A start date is "Not available" for a trek when the people already booked for that trek and start date reach its max group size. Count "Confirmed" bookings, plus "Pending payment" bookings made in the last 30 minutes. Do not count "Cancelled" ones.
- In the form, "Number of people" only goes up to the spots still free on that date.
- A start date is also "Not available" if any day of that trek falls on a blocked date.
Privacy: bookings contain passport numbers. Tourists can create a booking but must never be able to read anyone's booking details. The calendar may only get the number of spots taken per date. Explain to me in plain words who can read and change each kind of data.
Working when: your test booking appears in the database view, and after booking 12 people on one Rainbow Mountain date, that date shows "Not available".
Step 6: Owner sign-in
Add an owner area at the address /owner, protected by email and password. Only I use it. Tourists never need an account and never see a sign-in button.
- /owner shows a sign-in screen to anyone who isn't signed in.
- There must be no public "sign up" option anywhere on the site.
- Help me create my one owner account step by step inside Lovable. Then make sure nobody else can create an account.
- After signing in, show a simple "Owner area" page with a "Sign out" button.
- Only my signed-in account may read booking details, change bookings or change blocked dates. Check the database rules for this and explain them to me in plain words.
Working when: in a private browser window, /owner asks for a password, a wrong password is rejected, the right one shows the Owner area, and "Sign out" brings the sign-in screen back.
Step 7: Bookings list and cancelling
In the Owner area, add a "Bookings" page.
- Show all bookings grouped by start date, soonest first, with a switch between "Upcoming" and "Past".
- For each date and trek, show the spots taken out of the max group size, for example "Salkantay – 7/10".
- For each booking, show name, email, country, number of people, dietary needs, passport number, deposit paid and status.
- Add a "Mark as cancelled" button for each booking. It asks "Are you sure?" first. It only changes the status to "Cancelled" and never deletes the booking. Cancelled bookings stay in the list, greyed out, and no longer count toward the spots taken, so the date opens up again for tourists.
- This page must be easy to use on my phone.
Working when: you cancel your 12-person Rainbow Mountain test booking, it stays in the list marked "Cancelled", and that date is bookable again on the tourist calendar.
Step 8: Blocking dates
In the Owner area, add a "Blocked dates" page with a calendar.
- I can tap one day, or choose a start and end day, to block a range (for example rainy season), and add an optional reason (for example "family").
- Blocked days are clearly marked, and I can unblock them.
- On the tourist calendar, a trek start date is "Not available" if any day of that trek falls on a blocked day.
- If I block days that already have Confirmed bookings, warn me and list those bookings. Do not cancel them automatically.
Working when: you block one day two weeks from now, and the tourist calendar shows Salkantay unavailable for the 5 start dates that would include that day, while Rainbow Mountain is unavailable only on that day.
Step 9: Card deposit with Stripe (test mode)
Connect my existing Stripe account to take the 30% deposit by card. Use Stripe TEST mode only for now, and guide me step by step through anything I must do in Stripe.
- "Continue to payment" first checks again that enough spots are still free. If not, it shows a clear message and asks the tourist to pick another date.
- Then it saves the booking as "Pending payment" and opens a Stripe card payment page for the deposit amount in USD, in the tourist's language.
- The booking becomes "Confirmed" only when Stripe itself reports the payment as successful. A tourist simply landing on a success page is not enough.
- After paying, the tourist sees a confirmation page in their language: trek, dates, people, deposit paid and the rest to pay in cash in Cusco.
- If the tourist cancels or the payment fails, they return to the form with a message, and the booking stays "Pending payment".
- In my Owner area, show the deposit paid for Confirmed bookings.
Working when: paying with Stripe's test card 4242 4242 4242 4242 makes the booking "Confirmed" in your Owner area, and the test payment shows in your Stripe dashboard (in test mode) under the name Rosira Treks, not your festival.
Step 10: Confirmation email
After a booking becomes "Confirmed" (only after Stripe reports the payment as successful), send the tourist one confirmation email. Use an email sending service and guide me step by step through any setup outside Lovable, in plain words.
- Write the email in the language the tourist used to book (English or Spanish).
- Include: trek name, start and end date, number of people, deposit paid, the rest to pay in cash in Cusco, and a "What to bring" list for that trek.
- Create a "What to bring" placeholder list for each trek, in both languages, stored so I can change it later. For example, Rainbow Mountain needs fewer items than Ausangate.
- Use "Rosira Treks" as the sender name, and make replies come to my business email.
- Send the email only once per booking, even if the page is reloaded.
Working when: a test booking made with your own email in English, and another in Spanish, each brings exactly one email in the right language with the right trek's list. Check your spam folder too.
Step 11: Real content and go live
Help me get ready for real tourists:
1. Let me give you the real prices, descriptions (English and Spanish), 3 real photos per trek and the real "What to bring" lists. Ask me for them one trek at a time.
2. Walk me through switching Stripe from TEST mode to LIVE mode, step by step.
3. Publish the site and tell me the public link.
4. Check that on a phone every page works in both languages: trek pages, calendar, form, payment, confirmation page, email, and the owner pages.
Working when: you make one real small booking with your own card on the published site, get the email, see it "Confirmed" in your Owner area, then refund it in Stripe and mark the booking cancelled.
3. Save points
- Save a version from the project history after every step that passes its "Working when" check. If a later step breaks things, go back to the last good version instead of asking for fix after fix.
- Always save a version before Steps 6, 9 and 10. Keep Stripe in test mode until Step 11, and use only your own email for test bookings until then.
- Before Step 11, check that the Owner area only opens with your password. Then delete your test bookings in the database view, or ask Lovable to clear them.
4. Could add later
- An email to you whenever a new booking is confirmed
- A WhatsApp button so tourists can message you with questions
- A reminder email to tourists a few days before their trek
- Exporting bookings to Google Sheets
- Refunding deposits straight from the Owner area when you cancel a booking