0 Replies
a year ago
yoho @MantisInABox the clerk expert
a year ago
n/a
a year ago
Looks like you are missing the CLERK_SECRET_KEY
environment variable. The Clerk Docs show you that you need to have at least 2 environment variables, the publishable key, and the secret key…
it wasnt that apparently its because i need mongodb in my env on top of that
a year ago
Make sure that you are using reference variables with the private Database URL. Otherwise, you will be paying for egress charges on every database connection
yes I dont have one set up atm sadly I'm assuming remote queries works maybe via railway?
a year ago
If you have your DB on Mongo Atlas, you can use that, but you will pay egress from your app every time you make a DB request.
a year ago
You can use a database hosted anywhere with your application.
a year ago
That works perfectly fine as well. Once you deploy it, go back to your next app, and add a reference variable for the DB private URL
@MantisInABox The provided database string is invalid. MongoDB connection string error: Missing delimiting slash between hosts and options in database URL. Please refer to the documentation in https://www.prisma.io/docs/reference/database-reference/connection-urls for constructing a correct connection string. In some cases, certain characters must be escaped. Please check the string for any illegal characters.
DATABASE_URL mongodb://mongo:RemovedForDiscord@roundhouse.proxy.rlwy.net:44786/test