Connect Hono Cloudflare with MongoDB
Hi. I am using Hono and deploying to Cloudflare. However I am unable to find a way to connect mongodb database using mongoose
4 Replies
@Faris Unfortunately, you can’t use Mongoose or any other MongoDb adapter with cloudflare workers.
Yes you can use realm-web from mongo, as well as the data api. Or you can even use prisma. They all will work on cf workers. However mongoose is not supported
Create a REST API with Cloudflare Workers and MongoDB Atlas | MongoDB
Learn how to create a serverless REST API using Cloudflare workers and MongoDB Atlas.