Express.js

Showing 7 posts.

Simple Angular Form at Keystone.js

Posted in Node.js, Angular.js, Express.js, Jade by dake

Angular.js with keystone.js

Read more...

Enviroment Config at Express.js

Posted in Node.js, Express.js by dake

Config for your application is very important, because your testing, development and production is going to have different enviroment variable. This blog show few choice of using config at Node.js.

 

 

Read more...

Sample Code - Async in Node.js

Posted in Node.js, Express.js by dake

A shot sample code to describe how to use npm async module waterfall process.

Since node.js, mongoose is async, if want to process your logic like, update step 1 do setup 2 and more. Use async module is one way.

Read more...

SyntaxError: Unexpected token D body-parser at node.js

Posted in Express.js, Node.js by dake

Looks like most of time this is just json at the request body is not in a correct json format.

Node.js JavaScript Web Application with IDE Visual Studio

Posted in Node.js, Express.js, Visual Studio by dake

    My goal is trying to find a Free and great Code Editor and I'm still not find the one I love. There're so many great IDE out there, but I don't want to pay. (If I make enough money, sure I would pay.) The longest source code editor I have used is Visual Studio, I have used it from 2003 until now. Visual Studio is the best IDE for building .NET relative application and Microsoft is good to make these kind of tools. Visual Studio is very powerful for server-side Development.

Read more...

Error Handler(500) for Express, Node.js

Posted in Node.js, Express.js by dake

How to hanlder 500 error on Express.js

If you don't handler error correctly, you site will down. This blog show little tips that how to do error handler on express.js.

Read more...

Use Express.js default template with Node.js

Posted in Express.js, Node.js, Jade by dake

Use Express.js default template with Node.js

This blog will show how to use Express.js default template on your local machine. Also deploy it to the cloud to verify it working. The IDE using at this blog is Sublime Text and Cloud9 IDE.

Read more...