background preloader

Node.js

Facebook Twitter

Express - Node.js web application framework. Feathers - Guide.

Socket.io

Node: Up and Running. Although the Node core is extremely useful, many of its abstractions are very low-level.

Node: Up and Running

So a lot of development in Node is done using higher abstraction libraries built by the community, similar to how Ruby-based websites use Rails or Sinatra rather than custom-written Ruby code. Although these modules aren’t technically Node itself, they are extremely important for getting things done, and many of them are mature projects in themselves. AngularJS Tutorial: Learn to Build Modern Web Apps with MEAN - Thinkster. The goal of this tutorial is to guide you through the creation of a Reddit/Hacker News clone using the MEAN stack.

AngularJS Tutorial: Learn to Build Modern Web Apps with MEAN - Thinkster

By completing this tutorial, you will gain a basic understanding of the MEAN stack including building a REST interface with Express.js on top of Node.js and using that interface to perform CRUD operations on a database via an AngularJS frontend. Why MEAN Stack? The acronym "MEAN" stands for "MongoDB Express.js AngularJS Node.js" and represents a group of technologies which are known to synergize well together. The major benefit of the MEAN stack is that it's extremely quick to prototype with.

Maxogden/art-of-node · GitHub. THE ANTI-PATTERNS OF NODE.JS APPLICATIONS. Building a Single Page Application with AngularJS and Neo4J – Introduction. This is a cross-post from the digitalian Lucky Coincidences A series of lucky coincidences has recently brought me to dip my toes into a JavaScript-centric programming world completely new to me, from top to bottom.

Building a Single Page Application with AngularJS and Neo4J – Introduction

Or maybe I should better say, from front to back: Front End Using AngularJS, an open-source JavaScript framework, maintained by Google, that assists with running single-page applications. Back End Using Javascript also on the server side, with ExpressJS, a web application framework built on top of Node.jsUsing JSON (JavaScript Object Notation) to transmit data objects between the client, the server and the databaseUsing Neo4J, a fully transactional Java persistence engine that stores data structured in graphs rather than in tables. Initially I had picked the MEAN stack, a full-stack JavaScript development environment very trendy amongst prototypers in the Angular community (where MEAN is an acronym standing for MongoDB, ExpressJS, AngularJS and Node.js). New Tools for the Trade. Angular-ui/ui-router. Plunker. Making Express.js Authentication Fun Again. It’s no secret that if you’re building an Express web app, adding in user authentication is quite difficult.

Making Express.js Authentication Fun Again

If you google “Express Authentication”, you’ll be directed to one of two tools: While both Passport and everyauth are really great tools, as a relatively new Node developer, I had a difficult time figuring out how to actually use them in a real application. I honestly don’t want to setup / configure my own session management stuff, or worry about creating my own login / registration views securely.

After a lot of discussion internally at Stormpath, we decided it would be awesome to build a really simple, powerful, and elegant authentication system for Express. Which brings me to… express-stormpath For the past week, I’ve been working on building an authentication library that would abstract away all the details, and make adding user authentication to Express apps drop-dead easy. With that said, I’m really happy to introduce express-stormpath!

Customization. Reading POST data in Node.js Express, Easy Manager Method. Reading from an HTML Form is Simple Node.js with Express allows you to specify in your app.js javascript file if you'd like to use the bodyParser to automatically parse out the POST data from a form submission.

Reading POST data in Node.js Express, Easy Manager Method

You would typically indicate this by including the following line: app.configure(function() { app.use(express.bodyParser()); ... } With the bodyParser() setting defined, you can read form POST data by simply referring to req.body.nameOfField. The above code will simply output the HTML form field, txtName, in the response to the page. The web's scaffolding tool for modern webapps.

42id. The ANNE Stack The world of a software developer is littered with 4 letter acronyms – from the ubiquitous early acronym LAMP describing the technology platforms used, to the more modern MEAN stack, we have plenty to keep track of.

42id

So in the spirit of ever evolving world of IT we live in, let’s introduce another one to the mix – ANNE. What is ANNE you ask? Its a technology stack made up of Angular JS, Node JS, Neo4J and Express. Those of you familiar with the MEAN stack are already three fourths familiar with what’s being discussed here! Still don’t believe me? Consider this problem domain: You are building an internet application that shows the interaction of different drugs when taken together. Given a list of drugs the patient takes, you could query this table and for every drug listed by the patient you would find out if there is a row describing interaction between this drug and another that the patient uses. While this model works, is it optimal? Express - Node.js web application framework.