chai-backend
chai-backend copied to clipboard
A video series on chai aur code youtube channel
i have completed all the todos give by sir. and also for the sake of frontend devoper i have done something exiciting so that there will be no problem when...
Just corrected a basic spelling mistake in lowercase
Created collection for all user api will save time.
const getAllVideos = asyncHandler(async (req, res) => { const { page = 1, limit = 10, query, sortBy, sortType, userId } = req.query }) for what purpose we are using...
I have tried all the possible combinations to solve the error but " throw new Error(msg)" because of this internal file named route.js i am having this issue somebody plz...
src/db/index.js in line 7 "`${process.env.MONGODB_URI}/${DB_NAME}`)" , this " / " give error by connecting the database so just remove it and it would be life "`${process.env.MONGODB_URI}/${DB_NAME}`)" --> before "`${process.env.MONGODB_URI}${DB_NAME}`)" -->...
src/db/index.js line 7 it should be url not uri
_**Finished all the Controllers:**_ - **Users Controllers:** Added feature to remove previous file after updating profile. - **Video Controllers:** Publish, update, delete, togglePublication, getVideo of a Id, getAll Videos features...