🚀 Just Launched: My Full-Stack Blog Platform! 📝 Excited to share my latest project—a full-stack blogging platform built with Next.js, MongoDB, Firebase, and NextAuth! This platform allows users to create, update, and delete blog posts with a seamless and responsive UI. 🔹 Key Features: ✅ Authentication: Google & custom login via NextAuth ✅ Storage: Image uploads handled with Firebase Storage ✅ Database: Blog content stored efficiently in MongoDB ✅ State Management: Optimized using SWR for better performance ✅ Responsive UI: Ensuring a smooth experience across devices This project helped me dive deeper into Next.js full-stack capabilities, authentication flows, and handling real-time data efficiently. Always learning and improving! 🚀 🔗 Live Demo: https://rira-blogs.vercel.app/ 💻 GitHub Repo: https://github.com/vicky262600/first-nextJs-project
- 0 replies
- 0 recasts
- 1 reaction
Learing NextJs useSession from NextAuth.js is a React hook that helps manage user authentication in a Next.js app. It provides session information, including whether a user is authenticated, their details, and the loading state. This makes it easy to control access to protected pages, redirect unauthenticated users, or display user-specific content dynamically. useSWR (Stale-While-Revalidate) is a data-fetching library that improves performance by caching API responses and automatically revalidating data in the background. It reduces unnecessary API calls, ensures users see the latest data without refreshing, and provides built-in error handling. By using mutate(), SWR allows instant UI updates when data changes, making it perfect for real-time applications.
- 0 replies
- 1 recast
- 3 reactions
Thank you so much everyone for giving so much love to my last post. I will keep learning and posting my progress. Also, I am looking for a team to learn, grow, and participate in hackathons together. Thank you everyone😇
- 0 replies
- 2 recasts
- 13 reactions