/kanban

A kanban web app built with Nextjs and antd

Primary LanguageTypeScript

A kanban website built with NextJS + Ant Design, a tool for visualizing and controlling the project development process for software development engineers. After logging in with a Google account verified by Firebase, users can create and edit multiple projects. Within each project, users can create and edit multiple tasks, set details, priorities, deadlines, etc., and use drag and drop to set the current development stage. You can choose light or dark themes according to your needs.

Features

  • Drag and drop
  • Optimized for desktop devices
  • Dark theme
  • Ant Design
  • Typescript / React / Redux / Nextjs
  • Firebase: auth / firestore

Getting Started

First fill env variables for firebaseConfig.

.env.local

NEXT_PUBLIC_FIREBASE_PUBLIC_API_KEY=
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=
NEXT_PUBLIC_FIREBASE_PROJECT_ID=
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=
NEXT_PUBLIC_FIREBASE_APP_ID=
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=

Run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

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

Cloud Firestore Rules

rules_version = '2';
service cloud.firestore {
  match /databases/{database}/documents {
    match /users/{userId}/{other=**} {
      allow read, write: if
          request.auth != null && request.auth.uid == userId;
    }
  }
}

My Notes

  1. firebase prebuilt ui with nextjs - conflict with tailwindcss
  2. tailwindcss preflight causes buttons transparent
  3. for of Array.prototype.entries() get a ts error
  4. a react beautiful dnd issue caused by react strict mode