Currently, I have built a project based on RENDER.COMD as shown in the picture.
The front-end and back-end are developed with NEXT.JS, and the database uses PRISMA and POSTGRESQL.
This project consists of a user page and an administrator page, and socket communication between users and administrators is done using NODE.
This project is currently running normally locally.
I plan to deploy this project to RENDER.COM and run it online like local.
The purpose of this project is a personal portfolio, and it was developed to change the technology stack of the administrator page and conduct chats between customers and freelancers.
In a word, it can be said to be a dynamic portfolio.
#Please solve this problem.
1 messages · Page 1 of 1 (latest)
Hi @mighty fossil. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
hi there
I'm sorry, but the knowledge sources provided do not contain specific information about deploying a Next.js + Prisma + PostgreSQL + Node.js (for sockets) project to Render.com. The sources focus on deploying similar stacks to Vercel, including setup steps for Next.js, Prisma, and Postgres, as well as authentication and environment variable management for Vercel deployments How to Build a Fullstack App with Next.js, Prisma, and Postgres.
Key points from the sources that may still be relevant for your Render.com deployment:
- Environment Variables: Make sure to set up your database connection strings and any secrets (e.g., for Prisma, NextAuth.js, JWT, etc.) in Render.com's environment variable settings, similar to how you would for Vercel.
- Prisma and Database: You will need to run your Prisma migrations on your Render.com Postgres instance, just as you would locally or on Vercel.
- Socket Communication: The sources do not cover deploying a custom Node.js socket server alongside Next.js. If your socket server is a separate process, you may need to deploy it as a separate service on Render.com.
- Monorepo/Multiple Services: If your project has both a Next.js frontend and a separate Node.js backend for sockets, Render.com supports deploying multiple services from a single repository, but the sources do not provide details on this setup.
For step-by-step deployment instructions specific to Render.com, you will need to consult Render.com's documentation or support, as the provided sources only cover Vercel deployment workflows.
If you need guidance on deploying to Vercel, I can provide detailed steps based on the sources. For Render.com, however, the knowledge sources do not contain enough information to provide a confident, step-by-step answer.
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@mighty fossil Kapa.ai is still learning and improving, please let me know how I did by reacting below.
you can check here
https://w3-start.onrender.com