Build a Youtube clone with Express, MongoDB, & TypeScript
Features
- Register user
 
- Login
 
- Get current logged in user (me)
 
- Upload video
 
- Get all videos
 
- Stream a video
 
Technologies
Backend
Frontend
What you'll need
- Code editor - VSCode
 
- Postman/ insomnia
 
- Browser - Chrome
 
- Running instance of MongoDB
 
- Node.js
 
What you will learn
- REST API principals
 
- Some auth principals
 
- MongoDB with Mongoose
 
- Graceful shutdowns
 
- File upload streams with Node.js
 
- Video streaming with Node.js
 
- Next.js
 
- Mantine
 
- React.js context API
 
- Express & React.js with TypeScript
 
- Clean project structure
 
Video structure
- Demonstration
 
- Code walk-through
 
- Bootstrap server
- Initialise application
 
- Setup express
 
- Setup logger
 
- Setup Mongoose
 
 
- User
- Register user
 
- Login
 
- Require user and deserialize user middleware
 
- Get current user
 
 
- Video
- Upload video
 
- Update video
 
- Get all videos
 
- Stream video
 
 
- Setup client
 
- Auth
- Login screen
 
- Register screen
 
 
- Video
- Upload video
 
- Stream video