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!
source to share
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):
And consider Bootstrap as well as ready-made templates if you need it.
Mongo - Good choice.
These libraries should help.
source to share
As a basic starting point, this is a popular structure:
Here you will find links to sample applications:
Node.js Web Application Examples / Tutorials
source to share
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 .
source to share
Here is a list of resources that I compiled with themeefy to run the node.js project http://www.themeefy.com/AvinashEga2/nodejs
source to share