How part-4-1/coworkers works
Project type and purpose
• This is a full-stack-style frontend application built with Next.js (App Router).
• It provides a collaborative to-do platform (“Coworkers”) where teams can manage tasks, share a free bulletin board, and view user history.
• It hosts static pages (landing, auth, 404) and dynamic pages (group dashboard, boards, tasklists) on Vercel and communicates with an external REST API (base URL in NEXT_PUBLIC_API_URL).
File structure
• Top-level directories:
• src/app – Next.js App Router pages and layouts
• src/api – domain-oriented modules wrapping Axios for CRUD against the backend
• src/components – reusable UI pieces (buttons, modals, cards, skeletons)
• src/hooks – custom hooks (React Query API hooks, form hooks, modal, toast, etc.)
• src/utils, src/constants, src/types – shared utilities, constants, and TypeScript types
• public – static assets (images, lottie animations)
• Config and scripts: next.config.ts, Tailwind (tailwind.config.ts), PostCSS, Prettier, Husky, Github Actions for CI.
README for additional insights
• Technology stack: Next.js, React, TypeScript, TailwindCSS, React Query, React Hook Form, Axios, Storybook.
• OAuth integration with Kakao.
• Deployed on Vercel.
Detail
• Dynamic route patterns (/[groupId], /boards/[articleId], /app/(auth)/*.tsx).
• Data-flow sequence for a typical “complete task” operation:
Browser click → React Query mutation → Axios DELETE /task/:id → REST API → DB → React Query invalidation → UI refresh.
• SSR vs. CSR boundaries: initial page load from Vercel vs. client-side navigation.