=======
Handling Errors in our API
-
Instead of starting server again and again after any updation download a package called npm install --save-dev nodemon This basically automatically restart our server whenever we change anything
-
Morgan package for Default login
-
Fixing CORS(Cross-Origin Resource sharing) error by sending some header files
-
Added mongodb for database fetching
-
Moongose validation and creating model for order
-
Populating queries to get merged data at once
-
Upload images using package npm install --save multer
-
User Authentication and return Token(Json data) as verification (RestApi is stateless so cannot use session)
-
using node.bycrypt.js for hashing passwords
-
JWT signing with token
-
Added controller ,cleaner route files
For usage , need to have mongodb atlas set as database and providing accessing to network required
-> npm start (to run)