Front End Developer ·
Needs advice
on
Next.jsNext.jsPostgreSQLPostgreSQL
and
PrismaPrisma

Hi everyone, I need to make a website for a moving company. The website features include users with three different roles, payment methods, tracking, quotes, and admin. I was thinking of using next.js with Prisma to build it, but I don't know if this tool will work in this case basically Next.js will communicate through Prisma to our PostgreSQL db and save the data of our users, quotes, and everything we catch on the front end.

I really need your advice, thank you in advance

READ LESS
9 upvotes·28.9K views
Replies (1)
Cofounder & CTO at KSDAC LLP·
Recommends
on
PostgreSQL
Prisma

First off, that seems like a pretty solid draft. That being said, you might want to give the following some thought -

  1. Build the frontend in Next.js and use rest calls to a separate api server.
  2. Use Nest.js to create your api layer. It supports Prisma and is a really mature framework.
  3. If most of your apps functionality is auth walled (ie. users need to be logged in to see the pages) you might find Remix interesting as it gives you a must more performant alternative to Next.js for the frontend.
READ MORE
3 upvotes·7.6K views
Avatar of Angel Barrera

Angel Barrera

Front End Developer