-
Project structure
-
create mongodb atlas database
-
connect mongodb to backend (2nd commit)
-
dotenv settings
-
utils like: custom ApiError, ApiResponse, asyncHandler for database connection
-
handle CORS, data from JSON, URL, Cookies in express app
-
created USER & VIDEO model.
-
password hashing and matching using bcrypt
-
gen jwt access and refresh token
-
setup cloudinary for images & videos, util func
-
multer middleware for file handling
-
all setup kinda done
-
now write routes and controllers
-
register user controller
-
login user controller
-
logout user controller and jwtVerify middleware as req didn't have user, but had jwt, had to inject current user using jwt
-
more controllers. update user details, update avatar
-
Notifications
You must be signed in to change notification settings - Fork 0
dipankrr/yt-backend
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
youtube like video app backend
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published