Nerd
@Cs_nerd_
3484 hours left to be that guy trader || developer
#nodejs event driven architecture : its' a software design which node js responds to events as they occur, the flow of program is determined by the events.
#nodejs content negotiation - server respond with different types( html, json, xml ) of resources for the same url request by client according to the client's preferences
#nodejs app.locals - is an object, that contain variables that can be accessed globally anywhere in the application.
#nodejs #expressjs preflight request - initiated by client(browser) and the request is handled by the CORS(cross origin resource sharing ) module. so, options(preflight request ) = client(browser) cors(cross origin resource sharing ) = server.
#Mongodb $jsonSchema - is a mongodb inbuilt validator that let's us define rules for how documents in collection should look.
#Mongodb schema validation - rules we set when storing data, how data's are stored inside the collection, like - name = string , age = Number
#Mongodb embedded documents - all related data's are stored in one document. references documents - store related data's in multiple documents & collections and link them using _id
#Mongodb data modeling - deciding the structure of data inside the documents and collections
#Mongodb indexing - helps to find data faster. index types: 1 - single field index 2 - compound index 3 - unique index 4 - Text index 5 - geospatial index 6 - hashed index 7 - wildcard index
learn computer fundamentals before coding. how a computer is working ?
MongoDB datatypes: 1.string 2.integer 3.double 4.Boolean 5.null 6.array 7.object 8. Date 9.timestamp special datatypes: 1.objectId 2.binary data 3.regular expression 4.Min/Max keys 5.Javascript 6.Symbol
Mongodb - CRUD: C - CREATE - insertOne() , insertMany() R - READ - find() , findOne() U - UPDATE - updateOne(),updateMany(),replaceOne() D - DELETE - deleteOne() , deleteMany()
NODE JS npm modules . -find security vulnerabilities in modules- npm audit -to fix that vulnerabilities - npm audit fix
check outdated npm modules - npm outdated update to latest versions of module - npm update
United States Trends
- 1. Grammy 451K posts
- 2. Vesia 3,738 posts
- 3. Dizzy 11.4K posts
- 4. #FliffCashFriday 2,518 posts
- 5. Darryn Peterson 1,018 posts
- 6. Georgetown 2,381 posts
- 7. #drwfirstgoal N/A
- 8. Caleb Wilson N/A
- 9. Kansas 22K posts
- 10. James Watson 13K posts
- 11. Silver Slugger 11.5K posts
- 12. Thank a Republican 1,341 posts
- 13. NBA Cup 5,687 posts
- 14. Capitol Police 16.2K posts
- 15. Collar 14.6K posts
- 16. Myles Rice N/A
- 17. Jaland Lowe N/A
- 18. Dylan Edwards N/A
- 19. #cthsfb N/A
- 20. #kubball N/A
Something went wrong.
Something went wrong.