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
9 upvotes·28.9K views
Replies (1)
First off, that seems like a pretty solid draft. That being said, you might want to give the following some thought -
- Build the frontend in
Next.js
and use rest calls to a separate api server. - Use
Nest.js
to create your api layer. It supports Prisma and is a really mature framework. - 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 toNext.js
for the frontend.
3 upvotes·7.6K views