CMS Demo using NextJS and Tailwind

Deployed sample demo here NOTES: demo has not been updated with mobile responsiveness and backend but current code is mobile responsive

To run this app locally instead:

Requirements:

  • Node
  • npm
  • Backend server - GraphQL
  • Firebase storage

How to run the frontend

Using the terminal

  1. Clone the project

  2. Install dependencies inside the project folder

    npm install

  3. Create .env file with this value

    NEXT_PUBLIC_API_URL=<insert API for backend>
    NEXT_PUBLIC_FIREBASE_PUBLIC_API_KEY=
    NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
    NEXT_PUBLIC_FIREBASE_PROJECT_ID=
    NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
    
  4. Run the app by npm run dev