Realtime Meta Messenger😍 with Redis Next-Auth NextJS13 (experimental features)
Styling and UI was implemented using tailwindCSS as it compiles at build time therefore not affecting the SEO
CAUTION:⚠⚠ This app uses a lot of experimental features of NEXT13 like unstable_getServerSession from "next-auth/next" (for establishing the session) When calling from server-side i.e. in API routes or in getServerSideProps, using this function instead of getSession to retrieve the session object drastically reduces response time when used over getSession
Therefore these features are experimental and may be removed or changed in the future.
Next-auth js for authentication using your meta/facebook username password
Usage of swr and optimistic data for instant caching, fetching data.
Mutate for getting the updated data
Upstash is a Serverless Data Platform with Redis and Kafka support.Its features make it the ideal data solution for Vercel. worldwide low latency Price per request
For establishing the real time connection across devices Pusher was used which is a better option than using hte standard websocket library as it becomes quite easy to manage the entire application using it