Next.js Discord

Discord Forum

Please help me.

Answered
Masai Lion posted this in #help-forum
Open in Discord
Masai LionOP
I just developed Next Js project, but I can't run project.
I cloned a existed project, and I'm trying to run. This project used the PostgreSql as the database.
https://github.com/saasfly/saasfly
I cloned the project from above url.
If anyone tried that, please help me. 😦
Answered by B33fb0n3
it looks like you havent set your env variables correctly. Enter the correct login details inside the POSTGRES_URL env variable and it should work fine 👍
View full answer

7 Replies

Answer
Masai LionOP
@B33fb0n3 Thank you. But how can I skip this error without POSTGRES_URL? 🙂
@Masai Lion <@301376057326567425> Thank you. But how can I skip this error without POSTGRES_URL? 🙂
Enter a correct postgres url and the error is gone. A postgres url looks like this:
"postgres://YourUserName:YourPassword@YourHostname:5432/YourDatabaseName"
Masai LionOP
I already got username, password, Hostanme, and database name from client.
But I can't know it is correct. how can I know it is correctly?
Masai LionOP
Okay. Thank you.
happy to help