Skip to content

Deepanshu-three/backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is my learning of backend in web development

commit 1- started the project.

commit 2- done some project setup.

commit 3- added prittier config.

Note:- the above was the basic setup of the projects.

commit 4- connected db to the project. Used MongoDb database

things to remember:-

  1. always use try and catch to connect database
  2. always use async function to connect database.
  3. never provide the connection url in the code, make a seprate .env file store the url there and use that to fetch url
  4. try to keep your index.js or any other main file as short as possible.

commit 5- Learnt about the error class of node js and how to create our own response class

learned about some of the middlewares some standered practices

commit 5- Created user model and video model for the app and also learnt the use of bcrypt and jwt library and how to use them.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published