This is a collaborative application that allows users to collaborate on documents in real-time. The application is built using Next.js, TypeScript, TailwindCSS, LiveBlocks, Clerk, and Sentry.
- Real-time Collaboration: Multiple users can edit documents simultaneously.
- User Authentication: Secure user login and management powered by Clerk.
- Error Tracking: Monitored with Sentry to catch and fix issues promptly.
- Responsive Design: Styled with TailwindCSS for a seamless experience on any device.
- Next.js: React framework for server-side rendering and generating static websites.
- TypeScript: Typed JavaScript for better code quality and maintainability.
- TailwindCSS: Utility-first CSS framework for rapid UI development.
- LiveBlocks: Real-time collaboration infrastructure.
- Clerk: Authentication and user management.
- Sentry: Application monitoring and error tracking.
Follow these steps to set up the project locally.
- Node.js (v14 or higher)
- npm or yarn
-
Clone the repository:
git https://github.com/lappang-cheung/live-doc.git cd live-doc
-
Install the dependencies:
npm install # or yarn install # or bun install
-
Set up environment variables:
Create a
.env.local
file in the root directory and add the following environment variables:// From the https://clerk.com/ for Auth NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=YOUR_KEY CLERK_SECRET_KEY=YOUR_KEY // Route for the Clerk NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up // Liveblocks for the Realtime sharing LIVEBLOCKS_SECRET_KEY=YOUR_KEY SENTRY_AUTH_TOKEN=YOUR_KEY
-
Run the development server:
npm run dev # or yarn dev # or bun dev
Here is the link to the CollabDocs