Skip to content

Latest commit

 

History

History

05-djevents

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

DJ Events

A music event website using Strapi CMS as backend.

See Demo deployed on Vercel

See Strapi API deployed on Railway

Features

  • creating a Next.js app with a custom layout.
  • handling module aliases with jsconfig.
  • fetching data with API routes, displaying events and event details.
  • setting up Strapi CMS and defining event content type.
  • hosting uploaded images on Cloudinary.
  • connecting to the Strapi API, filtering events, enabling search and pagination.
  • adding, editing and deleting event.
  • creating a slug and displaying user-friendly messages with React Toastify.
  • handling image upload with a modal using React Portal.
  • authenticating users, storing JWT token in server HttpOnly cookie.
  • registering users and creating an auth context.
  • protecting Strapi API routes and customizing user events endpoint.
  • creating a user dashboard and associating events with users.
  • guarding routes to add, edit, delete event and upload image.
  • displaying maps with MapQuest Geocoding API, Mapbox and ReactMapGL.
  • deploying Strapi backend on Railway.
  • deploying frontend on Vercel.

Based on Next.js Dev to Deployment by Brad Traversy (2021).