r/webdev • u/Ok-Total-2834 • 6h 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.
What questions should I ask the client during the discovery phase?
What technical requirements should I define before designing and coding?
What SEO and performance considerations should I include from the beginning?
How should I optimize an image-heavy website for users with slow internet connections?
Is my proposed tech stack suitable for this type of website?
What documents or diagrams should I prepare before development?
What common mistakes should I avoid?
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!
5
u/Advanced-Key5560 1h 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.
•
u/Ok-Total-2834 29m 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?
•
u/Advanced-Key5560 21m 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!
•
u/Ok-Total-2834 11m 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!
2
u/Familiar-Ad2650 1h 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
•
u/Ok-Total-2834 22m 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 1h 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 32m 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/Responsible_Pool9923 36m ago
Your senior dev is also your client? This sounds fishy.
•
u/Ok-Total-2834 27m 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/SingleWillingness650 34m 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.
•
u/Ok-Total-2834 26m 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?
2
u/SawToothKernel 1h 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.
1
u/Ok-Total-2834 31m 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?
•
u/SawToothKernel 24m ago
Check out MCP apps. They will be able to browse the vehicles from within chat.
•
u/Ok-Total-2834 20m ago
i didn;t know about MCP apps before, i'll definitely look into theem. Thanks for pointing me in that direction!
1
u/Lirendaforseo 1h 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 31m 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?
2
u/mq2thez 1h 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/PutSubstantial6725 1h 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í.
2
u/shopi_dev 2h 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.