Getting comprehensive control of your files at any time is important to alleviate your everyday duties and increase your productivity. Achieve any goal with DocHub features for papers management and hassle-free PDF file editing. Access, modify and save and incorporate your workflows with other secure cloud storage.
DocHub gives you lossless editing, the opportunity to work with any formatting, and securely eSign documents without the need of searching for a third-party eSignature option. Maximum benefit of your document management solutions in one place. Try out all DocHub features right now with your free of charge account.
whats going on ladies and gentlemen come back to a brand new video this is webdiver knee and today were going to be creating a user schema doing our password authentication or encryption sorry not authentication for right now so password encryption and doing our registration route so lets get started because we do have a quite a bit to do so first of all lets actually create a nother folder and name this models this is where all of our models are going to be in and were gonna create a new file and theres going to be the user model oops model J s and we are using Mongoose so Const Mongoose is going to equal require Mon I dont I dont want retype Mongoose there you go and one one thing I do want to add in here is another module that we want to use for email validation so what I want to do is that I want to install a module or a package NPM I I - - save and this is called email - bad day tour now obviously email emails are kind of tricky to validate so theres already packages out