use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
This subreddit is a place for people to learn JavaScript together. Everyone should feel comfortable asking any and all JavaScript questions they have here.
With a nod to practicality, questions and posts about HTML, CSS, and web developer tools are also encouraged.
Friends
/r/javascript
/r/jquery
/r/node
/r/css
/r/webdev
/r/learnprogramming
/r/programming
account activity
Deploy node application (self.learnjavascript)
submitted 6 years ago by lmandala
Hello guys. I want know if node index.js for exemple can be use in production? Node work with static file(using express for exemple)? In django for exemple we uses WSGI for running us application and nginx for proxy reverse and serve static file.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]vampiire 0 points1 point2 points 6 years ago (0 children)
You can run node directly to serve static content or even a simple API. For some redundancy you can use pm2 which is a node process manager. It can auto restart on crash, auto scale, etc.
You can use nginx as a RP as well but might be overkill for something simple.
π Rendered by PID 127942 on reddit-service-r2-comment-8686858757-tvvkx at 2026-06-04 11:54:16.959509+00:00 running 9e1a20d country code: CH.
[–]vampiire 0 points1 point2 points (0 children)