sayar / nodemva Goto Github PK
View Code? Open in Web Editor NEWProject Repository for Building Apps with Node.js Microsoft Virtual Academy
License: Apache License 2.0
Project Repository for Building Apps with Node.js Microsoft Virtual Academy
License: Apache License 2.0
Hi thanks for the tutorials/examples. Really learning a lot. I have a query about the Node Chatroom in Ex 9.
Upon a new connection we take the mongo database and return 10 values
As it stands I tested and this returns the first 10 values.
var stream = collection.find().sort().limit(10).stream();
To return the most recent we need:
var stream = collection.find().sort({ $natural: -1 }).limit(10).stream();
This returns the newest value first (ie top of the list). Ideally we want the newest value at the bottom so we'd need to reverse the stream. I read that stream takes a transform function but I can't figure it out, I am very new to this world of developing - any help would be appreciated in this next step! Thanks!
please add them
// development only
if ('development' == app.get('env')) {
app.use(express.errorHandler());
}
This snippet of code giving error
Hola! @jainnitin001 has created a ZenHub account for the sayar organization. ZenHub is the leading team collaboration and project management solution built for GitHub.
To get set up with ZenHub, all you have to do is download the browser extension and log in with your GitHub account. Once you do, you’ll get access to ZenHub’s complete feature-set immediately.
ZenHub adds a series of enhancements directly inside the GitHub UI:
Still curious? See more ZenHub features or read user reviews. This issue was written by your friendly ZenHub bot, posted by request from @jainnitin001.
README.md file has a a typographical error.
It should be Microsoft Virtual Academy course
instead of Micorosft Virtual Academy course
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.