converted into next.
I am intermediate in react, I have been learning next since 2 hours and I am really enjoying it so far. I was working on a project for a client(mid size website) using react express postgre sql, and I think we would benefit using next for some part of the site for SEO. here are my question:
So far I have found limited resources for working with postgres in nextjs, all of them requires prisma, I found an article that has used postgres without prisma, so it is possible to use right? no problems?
Article: https://www.simplenextjs.com/posts/next-postgresql
So, since, I used redux in application, I can work around it in nextjs as well, thats awesome.
this might seem stupid but I wanted to ask all the npm packages that works in react also works in nextjs right? I only have one significant package i must use, I hope it works, i will try soon after.
lastly, I had this question. So, my application is like this: homepage, but when I go to location, like timeout.com, timeout.com/sydney , timeout.com/melbourne , those location page are same but its content is different. in next i will have folder structure: pages/[id].js ? likewise, those location have their own products, like timeout.com/sydney/product-1 , so, structure will be pages/sydney/[id].js ?
thank you!