Skip to content

Front-End part of DJ Events with Nextjs Backend used for storing jwt token in httpOnly cookie which is used to make authenticated request to strapi backend.

Notifications You must be signed in to change notification settings

raunak96/dj-events-frontend

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

  • Install the dependencies

    yarn
    # or
    npm install
    • Strapi Backend SetUp

      • Clone the Repo containing the Strapi backend from here or follow these instructions:
        git clone https://github.com/raunak96/dj-events-backend
      • Start the backend server locally :
        yarn
        yarn develop
      • Open http://localhost:1337/admin with your browser to see the result.
  • Run the development server:

    yarn dev
    # or
    npm run dev

Open http://localhost:3000 with your browser to see the result.

MODULE ALIASING WITH jsonconfig.json file

  • Instead of importing commonly used files with path relative to root of project we can set alias for them in jsonconfig.json file.

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

wakatime