Free expert advice

Not sure which train
to book? Just ask.

Share your journey details and get a personalised recommendation — best train, class, timing, and booking tips.

⚙️ Connect your Supabase database

This site needs a free Supabase project to store queries and replies. Follow these steps:

1. Go to supabase.com, create a free project.

2. In the SQL Editor, run this:

create table queries ( id uuid default gen_random_uuid() primary key, name text, contact text, from_station text, to_station text, journey_date text, passengers int, class text, note text, is_public boolean default true, status text default 'pending', created_at timestamptz default now() ); create table replies ( id uuid default gen_random_uuid() primary key, query_id uuid references queries(id), train_name text, train_number text, departure text, arrival text, duration text, journey_date text, class text, passengers text, availability text, expert_note text, created_at timestamptz default now() ); -- Allow public read of public queries and their replies: alter table queries enable row level security; alter table replies enable row level security; create policy "read public" on queries for select using (is_public = true); create policy "insert" on queries for insert with check (true); create policy "read replies" on replies for select using (true); create policy "insert replies" on replies for insert with check (true); create policy "update queries" on queries for update using (true);

3. Go to Project Settings → API → copy your Project URL and anon key:

Loading...