Skip to content

Collaborative Minimal Task Manager, Made with Tailwind , Clerk, React-Query, Shad/cn

Notifications You must be signed in to change notification settings

Piyush-linux/taskunity

Repository files navigation

🌸 Taskunity

Efficient Task Management for Your Team

TaskUnity is a powerful web application designed to streamline task management and enhance productivity within your organization. With TaskUnity, administrators can effortlessly assign tasks to users, ensuring that everyone knows their responsibilities and deadlines.

Key Features:

  • Task Assignment : Admins can create and assign tasks to specific users, ensuring clear delegation and accountability.
  • Collaboration : Facilitate team collaboration with comment threads and file attachments on each task.

Setup

npm i
cp .example.env .env # add require ENV
npm run dev

Techstack

  • Next.js 14: The React framework that provides an efficient and scalable development experience for modern web applications.

  • Tailwind CSS: A first-class utility-first CSS framework for web applications, simplifying styling with a class-based approach.

  • Shad/cn: A pre-built UI components designed to help developers quickly build user interfaces

  • MongoDB: A widely used NoSQL database for flexible and scalable data storage.

  • Zustand: A minimalist state management library for React, providing a straightforward way to manage application state.

Roadmap

  • Setup: next, tailwind, shadcn/ui, lucid-react-icon
  • UI Pages : @sitemap , ColorScheme & Logo
  • CRUD
    • NextSJ with MongoDB using mongoose
    • Task CRUD
  • Featching /API: Render Blogs from MongoDB with SWR
  • Auth: clerk (Custom Login, Custom Signup, Custom Forget Password, public route: /blog /sign-up /sign-in / )
  • OnBoard : update User Meatadata : role, username
  • NextSJ Server Actions
  • NextJS Nested Layout.jsx
  • if alreday authentixated then dont allow "/sign-in /sign-up"
  • Zustand
    • Add Task Modal Popup State
    • Task State
    • User Info ( Admin / User )
  • routing of auth , redirect , loader animation of clerk, Layout, Clerk metadata
  • Loading UI
  • React/NextConcepts : Context API, memo, hooks
  • Task CRUD API
  • Clerk Organization Invitation
  • React-Query
    • Sample PJ
  • Update Task
  • Schema : add (mail)

QnA

  1. Clerk Role Assign meta Data : role-( Admin / User )
  2. How to use clerk with cli or Postman for Auth
  3. what is (auth) dir : ignore
  • Implementing Role-Based Access Control in Next.js , Safeguarding User Role-Based Private Routes in Next.js 13 or 14 app router: A Step-by-Step Guide
  • Difference betwwen .env / .env.local / .env.example
  • Customization Clerk UI : Auth , Profile

Sitemap

/home
(Admin)
    / 
(User)
    / 
/blogs
    /blog/:slug
/profile
404.js

Schema

Admin
    - id @id
    - username
    - email
    - 
    - tasks @relation Task_id

User
    - id @id
    - org @relation Org_id

    - tasks @relation Task[] )

Task
    - todo String
    - status @enum("pending","done")
    - createdAt
    - assigned @relation("UserID")

API

http

Resources

Learning

  • use client under /Compoenent
  • use server under /app