Sample project/boilerplate for webhooks of Fast Memo mobile app, using Next.js 14 + Shadcn/ui + Tailwindcss + MongoDB + Socket.IO.
If you found this repo useful, ☕ buy me a coffee
- Webhooks connection with MongoDB
- Pagination
- Search with debounce
- You must have a MongoDB account.
- Setup environment variables as shown in
.env.local.example. - Use
ngrokto start a HTTPS Server, otherwise webhooks will fail (since HTTP is not secure). - Connect webhooks in your FastMemo app using
https://<ngrok-url>/api/webhooks/{endpointName}. - Enjoy.
This sample project/boilerplate is to demonstrate how to integrate webhooks with Fast Memo mobile app on a Next.js project.
I used Socket.IO library to make client and server connections (using API Routes).
Sure, but the server must stay in the API Routes under /pages. All the other things can be moved to /app.
Thank you @bvaughn for fixing hydration issues with react-resizable-panels@2.0.8 on #297
