This is a simple React To-Do application built with Vite and TypeScript, integrated with Clerk for user authentication. Tasks are stored in localStorage per user. Note that this app is merely a demo, as it was built for illustration purposes in the following YouTube tutorials: https://www.youtube.com/watch?v=xLAHNTZ9quE (Clerk backend built by Grok 4) https://www.youtube.com/watch?v=2bGh_DlkubM (frontend refined by Claude Code w/ Playwright MCP)
- Prerequisites
- Setup
- Environment Variables
- Running the App
- Building for Production
- Deployment
- Features
- Security & Sensitive Data
- Contributing
- License
- Node.js (v14 or later)
- npm
-
Clone the repository:
git clone [COPY URL FOR THIS PAGE] cd your-repo-name -
Install dependencies:
npm install
Create a .env file in the root directory:
VITE_CLERK_PUBLISHABLE_KEY=your-publishable-keySee
.gitignorefor patterns that ensure.envand other sensitive files are not committed.
Start the development server:
npm run devOpen http://localhost:5173 in your browser.
To build the app for production:
npm run build- User authentication with Clerk
- Per-user task storage in localStorage
- Beautiful UI with gradients and animations
- Add, complete, and delete tasks
Contributions are welcome! Please open issues or submit pull requests for improvements or bug fixes.