Open fullakingi opened 2 years ago
Hi @fullakingi, we're focusing all of our efforts at Nhost on Nhost v2 right now, which will come with a new serverless functions-service (instead of the current custom API).
I'd suggest waiting for Nhost v2 to make serverless functions on Nhost. We hope to have Nhost v2 publicly available in a few weeks from now.
Ok. I don't have a choice as my client want the feature now as we have too many users.
Ok I look forward to seeing the serverless functions. Excited for Nhost V2. The API is easy for us now. It works fine for us.I just need to know if it will be a breaking change as it is critical for us to be prepared, or will you retain nhost V1 for legacy accounts?
Just to confirm, do you have any issue with the above-mentioned code? Or just wanted to provide the code as a reference for others to learn from?
Nhost v2 will have no effect on the current project being hosted on Nhost. They are separated.
Hi @elitan - made progress on a feature for nhost that checks if an authorised user is on a table called subscribers.
chose project at nhost back-end
create a table called
subscribed
with the following fields:id
(UUID)created_at
(timestamp)email
(text)subscribed
(Boolean)to populate this table with subscribers we use mailchimp API. we set up a webhook " api-xxxxxx.nhost.app"
I am attaching the code for the back-end API:
it is in root/API/mailchimp
in the frontend (next js), we change the private route:
We are still refining the front-end private route file.