Hello, I am developing a website by testing the new functions of Cloudflare, and I already have my website integrated in their beta version. However, I would like to finalize the system I want to compose based on:
1. Teleporthq
2. Github Repository
3. Cloudflare Page
4. Cloudflare D1 or MongoDB
I have the first three items on the list for the new site system application, but I have been researching and trying to follow the steps to connect my website to a database, either Cloudflare D1 or MongoDB. I am encountering an error in the deployment due to not having the dependencies of Mongoose or because Cloudflare Workers is not being used correctly. I have been searching for a solution but have not been successful.
What I have tried:
I tried to set up a Cloudflare worker, but the installation information for Cloudflare Workers with d1 or MongoDB is not very clear. I also tried to run it from my GitHub repository, which is already synchronized with MongoDB, but when I deploy it on Cloudflare, it fails because it says Cloudflare does not have dependencies with Mongoose.