Following Web Dev Cody's tutorial on "Big Brain" with Next.js, Convex, Clerk etc. Tutorial : https://www.youtube.com/watch?v=4ojKx770_0Q&t=146s Cody's repo: https://github.com/webdevcody/big-brain
Timestamps:
- 05:21:58 / 5:21:58
Chapters:
- Chapter 0: 00:00:00 Overview
- Chapter 1: 00:04:09 Next.js Setup
- Chapter 2: 00:05:47 Convex Setup
- Chapter 3: 00:08:00 Clerk Setup
- Chapter 4: 00:16:08 Convex Mutations
- Chapter 5: 00:23:26 Convex Queries
- Chapter 6: 00:26:13 identityToken
- Chapter 7: 00:28:30 withIndex
- Chapter 8: 00:32:42 ShadCn
- Chapter 9: 00:37:11 Header
- Chapter 10: 00:42:47 Loading State
- Chapter 11: 00:45:01 Fix up Dashboard
- Chapter 12: 00:49:26 Upload Document Modal
- Chapter 13: 01:00:55 Hide Dialog
- Chapter 14: 01:02:53 Loader Button
- Chapter 15: 01:08:32 Select File
- Chapter 16: 01:11:08 Convex File URL
- Chapter 17: 01:17:20 Clean up
- Chapter 18: 01:19:23 View Document
- Chapter 19: 01:31:41 Chat Widget
- Chapter 20: 01:50:11 Tabs
- Chapter 21: 02:12:34 Question Form
- Chapter 22: 02:19:47 UI Improvements
- Chapter 23: 02:21:59 Skeleton Loader
- Chapter 24: 02:27:53 Empty State
- Chapter 25: 02:32:55 Generate Description
- Chapter 26: 02:42:55 Document Skeleton
- Chapter 27: 02:46:39 Delete Document
- Chapter 28: 02:58:59 Side Nav & Dashboard Layout
- Chapter 29: 03:11:23 Create Notes
- Chapter 30: 03:22:32 View Notes
- Chapter 31: 03:41:10 Note Empty State
- Chapter 32: 03:43:38 Vector Search
- Chapter 33: 04:09:46 Document Embeddings
- Chapter 34: 04:15:26 Flicker on Notes
- Chapter 35: 04:19:07 Cache Notes
- Chapter 36: 04:27:44 Fix Document Styles
- Chapter 37: 04:28:21 Organizations
- Chapter 38: 05:13:25 Landing Page
- Chapter 39: 05:15:46 Dark Mode Fixes
This project, following Web Dev Cody's "Big Brain" tutorial, has built a comprehensive web application using modern technologies and best practices. Here's a summary of what has been implemented:
-
Tech Stack:
- Next.js for the frontend and server-side rendering
- Convex for backend and real-time database
- Clerk for authentication
- ShadCn UI for component styling
- Tailwind CSS for utility-first styling
-
Core Features:
- User authentication and management
- Document upload and management
- Chat widget for interacting with documents
- Note-taking functionality
- Vector search for efficient document querying
- Organization support for team collaboration
-
UI Components:
- Responsive header with authentication status
- Dashboard layout with side navigation
- Modal for document uploads
- Tabs for organizing content
- Skeleton loaders for improved UX during data fetching
- Empty states for various sections
-
Advanced Functionality:
- Real-time updates using Convex
- File handling and URL generation
- AI-powered description generation for documents
- Document embeddings for improved search capabilities
- Caching mechanism for notes to optimize performance
-
User Experience Enhancements:
- Loading states and animations
- Dark mode support
- Responsive design for various screen sizes
-
Development Practices:
- Modular code structure
- Use of TypeScript for type safety
- Implementation of best practices for Next.js and React
- Integration of third-party services (Clerk, Convex) with custom logic
-
Additional Pages:
- Landing page for new users
- Organization management pages
This project demonstrates a full-stack application with real-time capabilities, AI integration, and a focus on user experience and performance optimization.