Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Starting up a node.js project

I'm about to start a project that's going to be a web site for storing photos. The method for uploading shall be drag and drop (from the desktop, same as Imgur), and it shall be possible to rate the photos as well commenting them.

For the project I'm going to use Node.js as well as HTML5, CSS3 and jQuery. The thing is that I'm a total newbie on Node.js and really could use some help regarding getting started. For the project I will of course need a database, and I have understood that MongoDB is a good choice. Is there any templates for this combination, so that I don't need to start from scratch?

I have installed Node.js and followed some tutorials but I really feel that I want to a template if there is one.

Thanks in advance!

like image 531
holyredbeard Avatar asked Aug 13 '26 14:08

holyredbeard


2 Answers

As you said you are a beginner you can take the best independent modules for your project and start using. Instead of having a pre-defined package of necessary components as a single module. Problem is you may end up not understanding the whole pack and become more biased.

So, I would suggest to use Expressjs (Best Choice) for url routing as mentioned above.

And,

File upload management:

formidable - a high performance file upload server with file parts reading and progress notifiers etc.

Template Engine (Markup libs for your custom htmls):

Jade

coffeekup

And consider Bootstrap as well for prebuilt templates if in case you need it.

Mongo - Good choice.

Mongo Modules

These libs should help.

like image 159
Futur Avatar answered Aug 16 '26 07:08

Futur


Take a look at HTML5 Boilerplate + Express.js

like image 32
Kuroki Kaze Avatar answered Aug 16 '26 06:08

Kuroki Kaze