Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/absolutelysaurabh/nodejs-examples
A step-by-step guide to learning MEAN stack, tracked with commit messages.
https://github.com/absolutelysaurabh/nodejs-examples
express mean-stack mongodb mongoose nodejs
Last synced: about 1 month ago
JSON representation
A step-by-step guide to learning MEAN stack, tracked with commit messages.
- Host: GitHub
- URL: https://github.com/absolutelysaurabh/nodejs-examples
- Owner: AbsolutelySaurabh
- Created: 2018-02-04T09:03:24.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-22T12:25:50.000Z (almost 7 years ago)
- Last Synced: 2024-11-05T23:26:53.567Z (3 months ago)
- Topics: express, mean-stack, mongodb, mongoose, nodejs
- Language: JavaScript
- Homepage:
- Size: 2.33 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nodejs-examples
A step-by-step guide to learning MEAN stack, tracked with commit messages.node-http:
a. node-http example.
b.node-modules
c.node-error handling and callbacks.node-express:
a. node-express,
b. node-express-morgan( used for adding static html files, using express to server.),
c. express-router: helps in organising express application via application routes, especially needed when we need to support large number of API endpoints, some are app.get(),app.all(), app.delete(), app.post(): needed fot CREATE, app.put(): needed for UPDATE.node-mongo: a. node-mongoDB examples/ setting up mongoDB with nodejs
b. callback hell and promises( provides much cleaner code, and using promises helps to avoid the pyramdical structures call back hell).node-mongoose:
mongoose allows us to provide sturuted schema to our documents, we call it mongoose ODM or Object Data Mapping.
a.mongoose-example-1: getting started with schemas and using 'bluebird' as a third-party promise node-mdule.