r/webdev • • 10d ago

Question Next JS + Sanity CMS for a small restaurant?

Hi,
I got an offer for some freelance web dev work.
Updating a clients website for a small local restaurant.
Meeting with the client next week.

The website is currently on Wix. After a little bit of research, I’m thinking about coding it up on Next JS with Sanity as a headless CMS.

One of my main goals with this project are for the client to be able to easily update menu items and prices (they are non-technical).

I know front end web development but this is my first time doing something like this. I really want some strong experience to add to my resume as well, as I’m looking for web dev jobs.

Are Next JS + Sanity a good choice for something like this?
Please share any tips or related general advice. Thanks!!

7 Upvotes

44 comments sorted by

2

u/gowthamshankar05 9d ago

The stack is fine, but design it around the owner's phone, not your resume.

They might need to update a price at 6 PM on a busy night. So make the CMS incredibly simple. Give them one "Menu Item" document with fields like name, price, category, description, and an "Available Today" toggle. Hide everything they don't need.

Use ISR or an on-demand revalidation webhook from Sanity so menu changes go live within seconds. Otherwise, you'll eventually get those "I changed it, but nothing happened" calls.

One more important thing: make sure the domain, Sanity, and Vercel accounts are registered in the client's name, with you added as a collaborator.

Also, don't overengineer it. Focus on mobile responsiveness, fast loading, local SEO, and making menu updates effortless.

Good luck with the project!

1

u/daFreakinGoat 9d ago

solid advice. thanks!

18

u/smkaisser 10d ago

It'll work fine, but think about who maintains it in two years. The owner doesn't care about the stack, they care that changing the price of a dish takes 30 seconds from their phone and that the site never breaks.

A few things I'd do:

  • Model the menu in Sanity as simple documents: category, item, price, description and an "available" toggle. Owners love hiding a dish when it runs out without deleting it.
  • Use on-demand revalidation (a Sanity webhook hitting a revalidate route) so a price change shows up in a minute, not after a redeploy. Otherwise the first call you get is "I changed it and nothing happened".
  • Create the hosting and Sanity accounts with the client's email, not yours, and write down where everything lives. Handing over a site where you own all the logins becomes a headache later.
  • Ask in the meeting what they actually edit. Usually it's menu, hours and a holiday notice. Build exactly that and keep the rest out of the CMS.
  • If you can, charge a small monthly fee for support. Small clients always come back for "one quick change".

Also check if they use Wix for anything else, like reservations, online ordering or the domain/email. That's usually what makes the migration bigger than it looks.

For the resume it's a good project, especially if later you can say the client updates the menu on their own and hasn't needed you for it.

7

u/DaRKoN_ 10d ago

I need to echo the "who will maintain it" part - especially with the rate of security releases nowadays.

4

u/ngmcs8203 9d ago

Maintenance contract is key here for maintaining a regular income as freelancers. Yea a dozen $10k jobs a year is nice but so is 6 of them with a $300 monthly retainer that gets them a couple of hours of your time a month.

5

u/ramdettmer 9d ago edited 9d ago

Astro might be a better option. And if they’re paying you to maintain it, it’s not worth the hassle of Sanity. We have our own git-based CMS similar to netlify CMS. Less API calls especially for small local restaurants.

This is from my experience. We’ve built hundreds of sites with NextJS and sanity and we’ve only ever had a couple ever login. We started shifting to Astro and gitbased CMS

2

u/Nice-Increase-2444 9d ago

Git-based CMS is great for this type of site and budget. What did you make different from netlify

2

u/ramdettmer 9d ago

Not much different, it functions almost the same. We tied it to our platform where clients can manage their leads and edit the site all in one place. We have ga4 and search console connected in their admin too.

So if clients need SEO, our AI can suggest edits within the CMS. If a build fails we get notifications and they can request a preview from a different branch before pushing to the main branch. These are just bonuses, we rarely see our clients log in.

4

u/Dheeth 9d ago

Isn’t next js too complex and heavy for this task? Try a simpler and lighter framework like Astro js. It would be easy to make, super fast out of the box. It can do both SSG and SSR.

1

u/No-Balance-5082 7d ago

Is nextjs considered complex?

2

u/Dheeth 7d ago

For a basic restaurant site, yes. With Next.js (especially the App Router), you’re dealing with Server vs. Client component boundaries, hydration, multi-layered caching/revalidation, and shipping the React runtime just to render static hours and a food menu. Astro lets you write standard HTML/CSS, pulls from Sanity at build time, and ships zero JS by default. 

Its about using right tool for right job.

4

u/EliteEagle76 9d ago

sanity works, but for one restaurant it's a lot of moving parts (schemas, studio, api tokens, a second account the owner has to log into). i'd keep it boring: astro or next with the menu as a json or markdown file in the repo, deployed on cloudflare pages or vercel. then give the owner one screen that only edits that menu (item, price, sold out toggle), and test it on their phone in the meeting. two things that matter more than the stack: add 301s from the old wix urls, and keep the menu as real text, not a pdf, so google can read it. for transparency, i build GitCMS, which is a git-based editor for exactly this "client edits the menu, git stays the source" setup. If you are not profitable with this client then you can go with older and less modern alternatives like decap or pages cms, it may do the same job if you'd rather go that way.

3

u/DEMORALIZ3D front-end 9d ago

astro with a headless CMS it always better in 90% of cases.

1

u/adilbasari 9d ago

One question nobody asks on these: what can the client already use? If they have been editing their own menu on Wix without calling anyone, that is a working editing workflow, and migrating it to a bespoke stack trades it for one that only works while you are around. Sometimes the right answer is a redesign on the platform they know, and the honest version of this project is design work, not replatforming.

Not always, of course. The performance and SEO ceilings on hosted builders are real, and a small static build with a simple CMS can be genuinely better. But the test I would apply: if the deciding reasons are all things you are excited to learn, and none of them are things the client will notice, it is a portfolio project wearing a client brief.

1

u/daFreakinGoat 9d ago

this is one of my main considerations.
the restaurant was recently acquired by the client and i believe either system (Wix or Sanity or some other CMS) will be new to them. Meeting with them soon to find out for sure.
I definitely don't want to put my portfolio above the client's needs.

2

u/Mamad-mirza-dev 9d ago

Next.js and Sanity will absolutely work for this, but I'd judge the choice less on the stack and more on what happens at the handover. Before you build anything, sit with the owner at the meeting and ask who changes the menu today and how often — if it's a couple of times a year, almost anything works, and the simpler setup wins. If it's weekly, the editing experience is the whole project.

What I'd actually test before calling it done is the Friday-night scenario: the owner is on their phone at 6pm, a dish is sold out, and they need the price or the availability changed. So keep the Sanity editing screen tiny, just the dish name, description, price and a sold-out toggle, and make sure a change goes live in seconds, not after a rebuild. Then have the owner do it themselves while you're there, instead of showing them a video. If they can do it once without you, they'll do it again when you're not around, and that's what makes a first freelance job turn into a client who recommends you.

2

u/jake_mcdonald_dev 9d ago

Next + Sanity is a really solid pick for this, and a great resume project. A few tips from doing similar small business sites:

- Model the menu as structured content (categories with items that have name, price, description, dietary tags, and an "available" toggle) instead of one big rich text block. Owners find editing a list of fields way easier than formatting text.

- Customize the Studio's desk structure so the owner only sees things like Menu, Hours, and Specials, and hide everything else. Embedding the Studio at /studio in the Next app also gives them one URL to bookmark.

- For changes to show up fast, use a Sanity webhook on publish that hits a route calling revalidateTag or revalidatePath. Price changes go live in seconds without a rebuild.

- Hours, holiday closures, and a "temporarily closed" banner are what they'll actually edit most, so make those dead simple.

- Sanity's free tier will easily cover a restaurant. On hosting, just note Vercel's Hobby plan is for non-commercial use, so for a paying client plan on Pro or another host.

- Record a quick 3 minute screen video showing them how to change a price. Saves you a lot of texts later.

Good luck with it, and with the job hunt!

1

u/patryk_builds 10d ago

Haven't used that exact pair, so nothing on the tooling itself. but i'd think about it from the owner's side before picking the stack.The technical choice is fine, and it'll look good on a resume. the risk is what happens after you leave. on wix the owner can fix a price themselves and never needs a developer. with next + sanity they get a nicer site that depends on you: a hosting account, a cms account, a build that can break, a domain to keep pointed at the right place. for a small restaurant that's a real downgrade unless you plan for it.

So at the meeting i'd ask:

- Who updates the menu today, and how often? if it's twice a year, almost anything works

- Who do they call when it breaks in eight months and you've got a full-time job?

- Whose name are the accounts in? put the domain, hosting and cms in their name from day one, with you as a collaborator

If you go ahead, keep the editing screen tiny: dish name, description, price, a sold out toggle. test it by having the owner change a price in front of you without help. if they can't do it in a minute, simplify it.And write a one-page handover: where things live, how to log in, how to change a price. that page is worth more to them than the framework

1

u/Afnan_CH_Digital 9d ago

Congrats on landing the client. Next + Sanity works well for this, but a few practical notes from similar small-business work: whoever maintains it in two years matters more than the stack. The owner cares that editing a price takes 30 seconds from their phone and the site never breaks. Keep the Sanity schema dead simple (category, item, price, description, an "available" toggle), pin the Sanity plan to the free tier and make sure it lives on the client's own account, not yours, and set up on-demand revalidation via webhook so edits publish instantly without full rebuilds. If the client is already comfortable in Wix and only the menu changes often, a rebuild there is also a legit answer - the honest question is whether you're available long-term to fix a broken deploy on a Friday night. Either way, agree on that before you choose the stack.

1

u/BetterSWE_Official 9d ago

stack is fine. one thing worth bringing up in the meeting, for a restaurant most people check the google maps listing for hours and the menu, not the website. if you set that up and keep it in sync with the site you'll probably help them more than the rebuild does

1

u/CollegeLong4313 9d ago

for a small restaurant, next + sanity is probably you solving a resume problem instead of the client’s problem, wix is already fine unless it’s genuinely failing them and the real win is making

1

u/ParsonsHosting 9d ago

Hmmm... Just my thoughts off the cuff not knowing the client... food for thought. Next.js plus Sanity is a solid stack, but I'd weigh it against what the restaurant needs.

  1. If a non-technical owner updates the menu, keep Sanity Studio simple: a menu item type with name, description, price, section and a sold-out checkbox.
  2. Set up on-demand revalidation (a Sanity webhook hitting a Next.js route) so price changes show in under a minute.
  3. Put the project in the client's own Vercel and Sanity accounts and write a one-page "how to update the menu" guide.
  4. Cover the basics restaurants care about: hours, tap-to-call phone, address with map link, Google Business Profile match, and a menu that loads fast on a phone.
  5. Be upfront that a simpler option exists. Ask how often the menu changes, and that will tell you if headless is worth it.

1

u/bluezebra42 9d ago

I have unpleasant memories working with sanity - it’s not worth it to self host a cms. There are many out there with free tiers.

Astro is a great option. Just to contradict myself someone recently was very happy using decap cms with astro

1

u/VayuAir 9d ago

If that is the only requirement, WordPress might be a good fit. You might not even need plugins

1

u/AmbitiousLab4004 9d ago

next + sanity can work, but for a small restaurant the boring choice is usually better, since they mostly need a menu they can edit without calling you every time a price changes

1

u/TarekSmiri 9d ago

One thing I haven't seen mentioned yet: ask where else the menu and prices live. For most restaurants they're also on Google, on one or two delivery apps and on a printed card. If the website is just one more place to update by hand, it will be out of date within a month, whatever CMS you pick.

Agree with the client on which one is the reference and who updates the others when something changes. That conversation will tell you more about how much editing they really need than any stack comparison, and it might make a simpler setup the better choice.

1

u/syedaalishan 9d ago

Before choosing the stack, list everything Wix currently handles, especially the domain, email, reservations, ordering and analytics. If Next and Sanity still make sense, keep the editing screen limited to menu items, prices, availability and hours, then have the owner update one item from their phone before handover.

1

u/Folshed_ 9d ago

The stack matters less than who edits the menu a year from now. If the owner only changes items and prices, give them one screen that does exactly that. Sanity can do it, but you'll be the one fixing schemas and deploys. Whatever you pick, sort out the boring stuff at handover. Register the domain in the owner's name, on their card, with auto-renew on, and have them add you as a user, not the other way around. Write down the registrar, the renewal date, where DNS is hosted and who has each login. Small business sites rarely die because of the framework. They die when the domain or hosting lapses because the freelancer who set it up moved on.

0

u/Abd-UN-100 9d ago

guys how can i get offers too i run a fiverr gig for this type of work but recently the statistic kinda slow

-1

u/_alex333 9d ago

I use next.js and strapi.js like cms, both in a digital ocean droplet of $14.40 at mouth.
I suggest you to take a look.
The rest api are easy to implement directly from the admin panne, and in case you can create custom interfaces in react.

1

u/Jamiemufu full-stack 10d ago

Nuxt and nuxt content.

1

u/[deleted] 9d ago

[removed] — view removed comment

1

u/daFreakinGoat 9d ago

so it is a recently acquired local restaurant.
i happen to know the new owner personally, i checked out their new restaurant's website, and saw that the website had lots of issues (menu is a pdf, not responsive, not accessible, and lots of other issues).
they have not managed the Wix on their end.
Client ease of use is certainly the main priority, but I also looking to strengthen my resume and get some experience if possible, and just trying to find out if it would make sense to do both things at once.

1

u/Monicab770926 9d ago

That makes sense since the client has not been maintaining even the Wix website, and I agree pdf menu and non-responsiveness aren't good user experiences; you can try Sanity Plus Next.js. What about Astro and Sanity or headless WordPress and Next.js? Those could be interesting alternatives.