Wednesday, 2 May 2018

Is it possible to automate the building of express routes?

I'm currently building a Node app that requires thousands of Express routes to be set up. Every single route should respond with the rendering of the same Handlebars template file with specific information that will be pulled from separate MongoDB documents from the same collection.I certainly do not plan on performing all these tedious copypastas in order to set up these routes. Is there some tool or implicit functionality within Express that allows the automation of the creation of these routes?

Submitted May 02, 2018 at 08:31AM by load_up_on_hummus

Tuesday, 1 May 2018

What's the win in dockerizing a node app?

A couple of recent posts here have been all about starting the process of dockerizing/containerizing node applications, which inspired me to play around a bit with Docker yesterday.So, it seems like sticking a node app in docker is pretty straightforward as long as you can follow the Dockerfile templates online. But what you seem to get is a process running in a container that does the same thing as if you had just typed npm start from your development computer.Then there's whatever else your node app depends on which really gets into the weeds. You can create a docker-compose file which launches your local app along with a dockerized database, but there are a lot of articles arguing against dockerized databases, at least in production.It does seem like docker files would help do automated testing in something like CI/CD, but those tools add a ton of configuration to projects. It doesn't seem like docker makes deployment to production much easier without incorporating some CI/CD tool.Is docker most useful for large teams/corporate settings? I'm developing an app solo, and maybe that's why I don't see the win.Anyways, online communities seem to love Docker, so I figure I'm just not understanding, yet, what problems it solves. Can anyone help me understand what I'm missing?

Submitted May 01, 2018 at 06:39PM by aust1nz

The 3 top most remarkable config packages

Hey friends, starting a new project and currently choosing my config package. Before picking the winners, do I miss any remarkable config package? my 3 candidates are:config - https://ift.tt/2HDUMsl - https://ift.tt/2reCkvg - https://ift.tt/2HGpqBC

Submitted May 01, 2018 at 01:19PM by yonatannn

Scraping question

I want to fill a website's form input fields using a Node server, and then scrape the results.I've used Cheerio to scrape before, but not like this (filling a form and then scraped).Has anyone done this and can give me some guidance?

Submitted May 01, 2018 at 11:43AM by Simchos

What are "endpoints"?

I've seen the word "endpoint" thrown around a lot, but I don't actually know what it means.

Submitted May 01, 2018 at 09:54AM by YALLFOOLSCRAZY

Build a “Serverless” SMS Crypto Price Checker in 6 Minutes with MessageBird and StdLib

https://ift.tt/2Ku0ACK

Submitted May 01, 2018 at 09:11AM by JanethL

Top Seven JavaScript Frameworks/Libraries For Developers, Beginner Should Know

https://ift.tt/2rd36nN

Submitted May 01, 2018 at 06:50AM by 2sbro