kernicPanel
Follow
22.1K views | +6 today
kernicPanel
JavaScript, Node Js, Git, Vim, and more…
Curated by Nicolas Clerc
Your new post is loading...
Your new post is loading...
Rescooped by Nicolas Clerc from #CodeReview
Scoop.it!

Express.js 4, Node.js and MongoDB REST API Tutorial

Express.js 4, Node.js and MongoDB REST API Tutorial | kernicPanel | Scoop.it

ere’s a brand new, revisited tutorial for Express.js 4, Node.js and MongoDB (Mongoskin) free-JSON RESTful API server.

Contents:

Node.js and MongoDB REST API OverviewREST API Tests with Mocha and SuperagentNPM-ing Node.js Server DependenciesExpress.js 4.x Middleware CaveatExpress.js and MongoDB (Mongoskin) ImplementationRunning The Express.js 4 App and Testing MongoDB Data with MochaConclusion and Further Express.js and Node.js Reading 

This Node.js, Express.js and MongoDB (Mongoskin) tutorial will walk you through writing the test using the Mocha and Super Agent libraries. This is needed for a test-driven development building of a Node.js free JSON REST API server.

The server application itself will utilize Express.js 4.x framework and Mongoskin library for MongoDB. In this REST API server, we’ll perform create, read, update and delete (CRUD) operations and harness Express.js middleware concept with app.param() and app.use() methods.


Via Jan Hesse, Ex FromTheLeft
more...
No comment yet.
Scooped by Nicolas Clerc
Scoop.it!

Tutorial: JSON REST API server with Node.js and MongoDB using Mongoskin and Express.js | webapplog

Tutorial: building a JSON REST API server with Node.js and MongoDB using Mongoskin and Express.js utilizing Mocha and Super Agent for BDD/TDD.
more...
No comment yet.
Scooped by Nicolas Clerc
Scoop.it!

NodeCellar: Sample Application with Backbone.js, Twitter Bootstrap, Node.js, Express, and MongoDB

In my previous post, I shared my recent experience building a RESTful API with Node.js, MongoDB, and Express.


In this post, I’m sharing the client application that uses that RESTful API. The Node Cellar application allows you to manage (retrieve, create, update, delete) the wines in a wine cellar database.

more...
No comment yet.
Scooped by Nicolas Clerc
Scoop.it!

mongojs.org

Mongodb and Nodejs tutorials and anything in between. Share examples, tutorials and articles.

more...
No comment yet.
Scooped by Nicolas Clerc
Scoop.it!

Ember Data and MongoDB – David Bushell – Web Design & Front-end Development

Using Ember has been a great learning exercise. After plenty of head scratching and many hours digging around in the source I’m now feeling comfortable with the core concepts.

If you’re using MongoDB behind your API here’s a few things I’ve learnt.

more...
No comment yet.
Scooped by Nicolas Clerc
Scoop.it!

Speeding up Mongoose queries by requesting only the fields you need

Speeding up Mongoose queries by requesting only the fields you need | kernicPanel | Scoop.it

I’m currently building a startup (ampcloud) with Node.js, MongoDB, Mongoose, and a handful of other tools. After spending quite a few years in the Django world, it’s been fun doing a mental context switch into the land of JavaScript, callbacks, and closures. Occasionally I’ve run into some gotchas, and this particular one is a great example.

more...
No comment yet.
Scooped by Nicolas Clerc
Scoop.it!

A post you wish to read before considering using MongoDB for your next app

This post details lessons learned from a 8 months experience with MongoDB. Although I’m writing this article alone, my experience of MongoDB was in the context of teamwork, so I’ll be u...
more...
No comment yet.
Scooped by Nicolas Clerc
Scoop.it!

Testing Your Model with Mocha, Mongo, and NodeJS

Mongo is installed, our data is ported. Time to roll together our first model: the Customer. How do you model this stuff with MongoDB and Node?

more...
No comment yet.