r/webdev • • 19h ago

What should developers consider before building a premium automotive website from scratch?

Hi everyone,

I'm a frontend developer with over one year of experience. I'm planning to build a full-stack automotive website as a personal project with guidance from a senior developer who will also act as my client.

The website will be a premium digital showroom where customers can explore vehicles, compare models, view specifications, request quotations, and book test drives.

My proposed tech stack is:

  • Frontend: Next.js (React + TypeScript)
  • Backend: ASP.NET Core Web API (C#)
  • Database: Not decided yet

I'm considering these technologies because I'm familiar with React, TypeScript, and C#. However, I'm open to other suggestions if there are better approaches for this type of project.

My main goals are:

  • High-quality and original UI/UX design
  • Fast loading speed
  • Smooth animations and interactions
  • Consistent typography and design system
  • Strong technical SEO
  • Responsive and accessible design
  • Reliable user experience on slow or unstable internet connections
  • Maintainable and scalable architecture

Before starting development, I would like to learn how experienced developers approach this type of project.

  1. What questions should I ask the client during the discovery phase?
  2. What technical requirements should I define before designing and coding?
  3. What SEO and performance considerations should I include from the beginning?
  4. How should I optimize an image-heavy website for users with slow internet connections?
  5. Is my proposed tech stack suitable for this type of website?
  6. What documents or diagrams should I prepare before development?
  7. What common mistakes should I avoid?
  8. What should I test and optimize before releasing the website to production?

I'm particularly interested in learning from developers who have built automotive, furniture, real estate, luxury product, or other similar websites.

My goal is not just to build a working website, but to understand the entire process of developing a high-quality web application, from client requirements to production.

Any advice, real-world experience, or useful resources would be greatly appreciated.

Thank you!

0 Upvotes

38 comments sorted by

4

u/mq2thez 14h ago

For a largely static website which needs to load fast, be accessible, use animations well, and have low maintenance… not React.

React can be some or most of those things, but it’s not really meant for them. Something like Astro with Preact islands for places where you need some React-like interactivity would be a far more maintainable stack.

It would also allow you to tie in a CMS for triggering automatic redeploys. You’d remove the need for most of any backend for the site itself aside from things like contact forms, etc.

One thing I don’t see any mention of, though, is personalization. If the client wants login functionality or user accounts or whatever, the scope of this changes quite significantly.

1

u/Ok-Total-2834 6h ago

I've never used Astro before, but I'll look into it.

One of my goals is also to improve my backend skills, so I'm planning to build an admin dashboard to manage vehicle information, images, videos, quotations and test drive requests.

I don't think customers need an account for now. Would you still recommend Astro for the public website and React for the admin dashboard?

1

u/Ok-Total-2834 6h ago

I've never used Astro before, but I'll look into it.

One of my goals is also to improve my backend skills, so I'm planning to build an admin dashboard to manage vehicle information, images, videos, quotations and test drive requests.

I don't think customers need an account for now. Would you still recommend Astro for the public website and React for the admin dashboard?

6

u/Advanced-Key5560 14h ago

Stack is solid. Pick Postgres for the DB and you're good. I'll add a couple of things that bite people on image-heavy sites:

Images (this is where most of your speed goes):

  • Use next/image or serve AVIF/WebP with proper srcset sizes. A 4MB hero photo on a phone over 3G will kill everything else you optimize.
  • Lazy load anything below the fold, but NOT the main hero image of each car page. That one should load first.
  • Put images behind a CDN with resizing (Cloudinary, imgix, or Cloudflare Images). Upload once, request the size you need.
  • For galleries/360 views, load the first image and only fetch the rest when the user interacts.

SEO:

  • Pre-render model and spec pages (SSG/ISR). They don't change often and they're the pages people search for.
  • One clean URL per model/trim, e.g. /models/brand-model-2026, and canonical tags if trims share content.
  • Add structured data (Product / Vehicle schema) and a sitemap from day one. Retrofitting it later is annoying.

Testing:

  • Run Lighthouse and check Core Web Vitals, but also test on a real mid-range phone with network throttling in DevTools. That's closer to what your users actually see than your dev laptop.

Common mistake: building the fancy animations first. Get the content model and the quotation/test-drive forms working end to end, then polish.

0

u/Ok-Total-2834 12h ago

i actuaaly taking inspiration from the Polestar website, so image and video performance is a hug concern to me

i am thinking of storing the original images in object storage and using a DN for resizing and delivery, Would that be overkill for project like this?

4

u/Advanced-Key5560 12h ago

Not overkill at all, that's pretty much the standard setup, and it's easier to do it from the start than to migrate later.

Cloudflare R2 + Cloudflare Images (or Cloudinary's free tier) would cover it nicely without much cost at this scale. Upload the original once, then request whatever width/format you need in the URL.

Since you're going for the Polestar vibe, the videos will matter more than the images:

  • Don't serve big MP4s straight from storage. Use something like Mux or Cloudflare Stream so you get adaptive streaming (HLS). Slow connections get a lower quality instead of buffering.
  • Always set a poster image, so the page looks finished before the video loads.
  • For the background hero loops, keep them short (5-10s), muted, no audio track, compressed hard. They're decoration, not content.
  • On mobile, consider showing the poster only and loading the video on tap. Polestar does something similar on smaller screens.

Good luck with it, sounds like a fun project!

1

u/Ok-Total-2834 12h ago

This is really helpful. I hadn't thought about adaptive streaming for videos before. I'll spend some time looking into Cloudflare R2, Images and Stream.

Really appreciate you taking the time to explain all this!

4

u/Responsible_Pool9923 13h ago

Your senior dev is also your client? This sounds fishy.

1

u/Ok-Total-2834 12h ago

yes, he is just acting as a client to help me understand how a real project works. It's alway been a dream of mine to build my own car sale website, i think having a senior dev as a mentor and getting advice from the developer community is a great opportunity for me, even if it's just a personal project

2

u/shopi_dev 14h ago

Your stack is fine, Next.js with a C# API works well for this. For the discovery phase, ask which models and trims change often and who updates them, since that decides whether you need a CMS or just a simple admin panel, and ask what the test drive and quote requests should trigger (email, CRM, calendar). On performance, serve images through Next's image component or a CDN in AVIF/WebP with proper sizes, lazy load everything below the fold, and keep the hero to one compressed image or short video with a poster. For SEO, give every model its own server-rendered page with a clean URL, unique title and meta, and Vehicle/Product structured data, and avoid hiding specs inside client-only tabs. Set a performance budget early (LCP under 2.5s on throttled mobile) and test on slow 4G in Lighthouse before you build the animations on top.

0

u/Ok-Total-2834 12h ago

i'm thinking of building my own admin since i also want to improve my backend skills. The admin should be able to update vehicle specs, prices, images, and videos without redeplouing website

Would a custom admin panel be enough for this, or is there a good reason to use a headless CMS instead?

2

u/Familiar-Ad2650 14h ago

on the database question, Postgres is a safe default here. vehicles, trims and specs are very relational, so it's easy to build the compare-models feature on top of it

1

u/Ok-Total-2834 12h ago

I've worked with C# before, so SQL Server was also on my mind. Is there any particular advantage to using Postgres over SQL Server for this kind of project? :D

2

u/Main_Ice_3702 14h ago

Your client is a senior dev, so this "personal project" is a job interview where you also write the take-home. Nine goals and the database still undecided is a very honest order of priorities though.

1

u/Ok-Total-2834 13h ago

Haha, that's actually not far from the truth. He's helping me understand how a real project works. I'm still figuring out the requirements, so I haven't decided on the database yet.

2

u/PutSubstantial6725 13h ago

Animaciones fluidas, carga rápida y SEO sólido en la misma lista, elige dos. Y en todo el mensaje no aparece de dónde salen los vehículos ni quién actualiza el stock cada día, que es donde se va el 80% del trabajo real de un sitio así.

1

u/Ok-Total-2834 12h ago

I have a few contacts in the automotive industry who might be able to help me get vehicle data, images and videos.

As for inventory, I don't think I need real-time stock management for now. I'm aiming for more of a digital showroom where customers can explore cars, compare models, view the interior and exterior, and request a test drive.

The main focus is the customer experience rather than selling cars directly online.

And yeah, getting smooth animations, fast loading and good SEO together is probably going to be a challenge, but that's part of what I want to learn haha.

2

u/SingleWillingness650 13h ago

just slap Postgres on the backend and lean hard into Next.js image optimization with WebP/AVIF + lazy loading so high-res car shots don't tank mobile speeds.

1

u/Ok-Total-2834 12h ago

Quite a few people here are recommending Postgres, so I'll definitely look into it.

For the images, I'm aiming for something similar to Polestar's website. Have you worked on image-heavy websites like that before?

1

u/Lirendaforseo 14h ago

The stack is fine. The question I'd ask the "client" first is who updates the cars and how often, because that decides more than the framework does. If someone from sales adds stock every week you need a CMS or admin panel from day one (Payload, Strapi, Sanity, or just an admin area on your .NET API). And the data model for model > trim > options > specs is the part worth drawing out properly before any UI. Specs get messy fast: different units, optional features per trim, prices that change.

Docs I'd actually make: a sitemap of the pages, an ER diagram for that vehicle data, and a short list of what each form does after submit (email to who, stored where, what the user sees). Skip anything bigger, nobody reads it.

Mistakes I see a lot on these kinds of sites: hero videos and huge image carousels that kill LCP on mobile, the compare feature getting built before the basic model page is good, quote forms that fail silently, and animations that ignore prefers-reduced-motion.

Before release I'd test on a throttled mid range Android phone instead of your laptop, run Lighthouse and axe on the main templates, test the forms end to end including what happens when the API is down, and check every model page has its own title, description and canonical. Submit a sitemap in Search Console on launch day too.

1

u/Ok-Total-2834 12h ago

Good point about the specs. I hadn't really thought about different units and optional features.

How would you design the database for that? Would you use fixed columns for common specs or a more flexible structure?

1

u/mianadilofficial 7h ago

One thing I would add to the discovery list is what happens after someone asks for a test drive or a quote. Who gets that enquiry, how quickly do they follow up, and what do they need to know before they can reply? That answer shapes the form, the confirmation page, and how you track which model pages actually lead to real enquiries.

1

u/Ok-Total-2834 6h ago

i was thinking of keeping it simple now, if customers want a quote and test drive, they can contact the sales team directly by phone through messaging apps. They can alose leave their contact detail through a simple form so we can raech out to them.

1

u/SawToothKernel 13h ago

My first consideration will be whether or not a website should be the primary focus for such a product in the age of agents. Over the next few years most people will be getting most of their information from their chat agent. Perhaps you should build an MCP server instead.

2

u/Ok-Total-2834 13h ago

I can see MCP being useful for finding and comparing cars, but what about the visual experience? People still want to see the exterior, interior and colours before buying a car. Why not have both?

1

u/SawToothKernel 12h ago

Check out MCP apps. They will be able to browse the vehicles from within chat.

2

u/Ok-Total-2834 12h ago

i didn;t know about MCP apps before, i'll definitely look into theem. Thanks for pointing me in that direction!

2

u/SawToothKernel 11h ago

You're welcome! It's at least worth considering this as a parallel solution. IMO build for agents first, then for people.

0

u/krileon 6h ago

What a stupid idea, lol. Websites aren't going away anytime soon. Not even in the next 10 years. You're way overestimating the average persons reliance on and usage of AI.

2

u/M_Me_Meteo 11h ago

Assets. Who makes em? Who owns them?

2

u/Level_Imagination544 11h ago

On the object storage plus CDN question, that isn't overkill, it's pretty much the standard setup and it's cheap at project scale. Keep the originals untouched in the bucket and let the CDN generate and cache the resized versions, so you can change sizes later without re-uploading anything. Just set long cache headers on the resized ones.

1

u/Needle_In_Red 11h ago

One thing id do early is agree on where the car data comes from, like how specs and pricing get updated, since that shapes the whole backend. Also image optimization matters a lot on showrooms, those hero photos get heavy fast.

1

u/Annh1234 6h ago

all you need is HTML mate, your over complicating things.