user2800761
user2800761

Reputation: 2335

Tutorials for a blogging application in node.js

I am learning node.js, and would like to try building a blog on the platform. Do you know of any good tutorials that show you, step-by-step, how to build a blogging app on node? I have seen one by Nettuts, but it doesn't explain a full solution, with databases an the like. So are there any good tutorials? I do not mind if it is text or video, as long as it is descriptive and helpful.

Thanks for any recommendations!

Upvotes: 2

Views: 7913

Answers (3)

Peter Lyons
Peter Lyons

Reputation: 146174

My blog is written in node.js and express.js. I uses just a simple git repo on the filesystem for the post content. It is open source at github.com/focusaurus/peterlyons.com. Feel free to look around if you find it helpful and shoot me follow-up questions. It is no-frills but does have a basic post editor with preview and allows me to add custom markup processing logic.

There is a fully automated deployment solution in there coded in Ansible and bash that I use to deploy it to both a Vagrant-based staging VM and a production digital ocean droplet.

Upvotes: 4

Mayur Rokade
Mayur Rokade

Reputation: 512

You can try ExpressJS

As an ExpressJS intermediate, I can understand the question coz even I coudnt find an expressjs tutorial that "just" works and is minimal.

You can try this http://cwbuecheler.com/web/tutorials/2013/node-express-mongo/ tutorial or the hack sparrow express tut mentioned by Wyatt

If you are completely new to MVC web frameworks, its gonna take a lot of patience. Since I worked on Django befor, I was able to stand up n run pretty quickly with ExpressJS

So even if the tutorial doesnt make sense there's plenty of other resources likes docs, google and StackOverFlow :D

Upvotes: 2

Wyatt
Wyatt

Reputation: 2519

Node is all about using what is available in the ecosystem. npm is great and sets node apart from other environments. You could use, for example, Wheat.

That said, you could check out this article which is pretty old, but good.

Alternatively, I think the Hack Sparrow Express Tutorial would have a lot of valuable concepts for you, especially when coupled with his posts on Mongo.

Upvotes: 0

Related Questions