Skip to content

Latest commit

 

History

History

01-nextevents

NextEvents

A social networking site using Next.js, MongoDB and Firebase.

See Demo deployed on Vercel

Features

  • working with file-based routing and handling dynamic routes.
  • creating a general layout, adding React components and styling them with CSS modules.
  • displaying events and filtering them by date.
  • adding Static Site Generation (SSG) on the home page.
  • fetching events from Firebase and enabling page pre-rendering for dynamic pages.
  • using Server-Side Rendering (SSR) and client-side data fetching with SWR.
  • adding metadata with Head.
  • customizing the _app.js and _document.js files.
  • optimizing images with Image.
  • handling comments and signups for the newsletter with API routes.
  • setting up a MongoDB database and getting comments for a specific event.
  • handling errors and displaying user-friendly notifications.
  • deploying on Vercel.

Based on Next.js & React - The Complete Guide by Maximilian Schwarzmüller (2021).