How caijinghong1468/containerd works
Project type and purpose
• SyncNote is a full-stack, real-time collaborative note-taking web application.
• The README describes three main features: user authentication, CRUD operations on notes, and live collaboration via Socket.IO.
• The file tree shows a two-container setup (Frontend + Backend) orchestrated by docker-compose, plus performance tests under k6.
File structure
• Top-level directories:
• Backend/ – Python FastAPI app with Socket.IO handlers, Redis caching, MongoDB persistence.
• Frontend/ – Next.js React application that calls REST endpoints and listens on a WebSocket channel.
• k6/ – Load and socket stress tests.
• docker-compose.yaml – defines service composition (frontend, backend, MongoDB, Redis).
• Key files:
• Backend/main.py – HTTP + WebSocket routes, caching logic.
• Frontend/src/services/api.ts – REST calls; socket.ts – real-time updates.
README for additional insights
• Architecture: FastAPI ↔ Redis ↔ MongoDB, plus Socket.IO broadcast.
• Tech stack: Python, FastAPI, Socket.IO, Redis, MongoDB, Next.js, Docker.