🎯 Be a Mongoose Master:
install: npm install typescript --save-dev,
npm install express --save,
npm install mongoose --save,
npm i ts-node-dev --save-dev,
npm i nvm, npm i cors,
npm i --save-dev @types/express, npm i --save-dev @types/cors,
copy to script: ts-node-dev --respawn --transpile-only server.ts.
run: npm run dev.
data drive steps:: 1.Interface(user.interface)--> 2.Schema/Model(user.model)--> 3.Route(user.route)--> 4.Route_Controller(user.controller)--> 5.Database_Query(user.service)
| >> Topic's i've learned :
| ----------------------------- | --------------------------- | ------------------------------- |
| Express | Mongoose | Schema |
| Interface | Model | Route |
| Route_Controller | Database_Query | Mongoose indexing |
| MVC Pattern | Modular Pattern |GET, POST, Delete |
| Refactor Code | Find, Field filtering |Static, instance methods |
| Studio 3T, NoSql booster |
| >> MongoDB Operators:
| Query and Projection Operators:-->
| Comparison Query Operators | Logical Query Operators | Element Query Operators |
| Evaluation Query Operators | Geospatial Query Operators | Geometry Specifiers |
| Array Query Operators | Bitwise Query Operators | Projection Operators |
| Miscellaneous Query Operators | Update Operators | Aggregation Pipeline Stages |
| Aggregation Pipeline Operators|