Running node.js project

I am about to start a project that will become a photo storage website. The upload method should be drag and drop (from the desktop, just like Imgur), and the ability to rate photos and comment on them.

For the project, I'm going to use Node.js as well as HTML5, CSS3 and jQuery. The thing is, I'm new to Node.js and can really use some help with regards to getting started. For a project, I certainly need a database and I realized MongoDB is a good choice. Are there any templates for this combination so that I don't have to start from scratch?

I installed Node.js and followed some tutorials, but I really feel like I want a template if there is one.

Thanks in advance!

+3


source to share


6 answers


As you said, you are a beginner, you can grab the best independent modules for your project and start using. Instead of having a pre-defined package of prerequisites as one module. The problem is that you may not understand the whole package and become more biased.

So, I would suggest using Expressjs (best choice) for URL routing as above.

and

File upload control:

formidable is a high performance file upload server with part readers and file tracking etc.

Engine template (markup libs for your custom htmls):



Jade

coffeekup

And consider Bootstrap as well as ready-made templates if you need it.

Mongo - Good choice.

Mongolian modules

These libraries should help.

+4


source


Take a look at HTML5 Boilerplate + Express.js



+1


source


As a basic starting point, this is a popular structure:

http://expressjs.com/

Here you will find links to sample applications:

Node.js Web Application Examples / Tutorials

https://github.com/heroku/facebook-template-nodejs

Open source Node.js (and Express) projects

+1


source


Express JS is good, but I would recommend you take a look at Railway JS . It is based on Express with support for numerous templating engines and database adapters (including MongoDB). It's much more modular, so you shouldn't have any problems getting it working (in my opinion). Check out: Uploading Images with Node.js, Express and Mongoose .

0


source


Here is a list of resources that I compiled with themeefy to run the node.js project http://www.themeefy.com/AvinashEga2/nodejs

0


source


I think Tower.js is what you need.

-1


source







All Articles