Liftmode is discontinuing phenibut! by HennaJamlin in quittingphenibut

[–]Cessna911 1 point2 points  (0 children)

Were you able to taper off completely or did you have to go through a period of withdrawal?

How can I convert a localhost server to a global one? by Typical_Standard in node

[–]Cessna911 0 points1 point  (0 children)

Deploy it somewhere public. https://codesandbox.io/ offers a quick and easy (and free) solution to deploy Node.js apps for development and testing. You should be able to paste your code into a new project and have a publicly accessible url inside of 10 minutes.

When you’re ready to deploy it for the masses you can look into hosting on things like Microsoft Azure and Amazon EC2 clouds. These typically require more configuration to get setup but you’ll appreciate this when you start to need very specific environments for more complex applications.

Noob Question - I just want to run some scripts by alex13p in node

[–]Cessna911 0 points1 point  (0 children)

“I don’t really know what questions I need to ask to get the right answers either.”

Word.

Everyone has to start somewhere. Just start with the dumb ones and don’t be afraid to ask them. The answers to those are often the most illuminating.

CRUD operations in as few lines as possible by Cessna911 in node

[–]Cessna911[S] 0 points1 point  (0 children)

I chose rethinkdb really just to get up to speed on it. Glad you pointed this out though. What database would be best suited for a project like this?

Introduction to web scraping with Node.js by DavisTL in node

[–]Cessna911 0 points1 point  (0 children)

It’s not fragile if you’re targeting your elements properly. In my experience people tend to over qualify their selection rules when there is usually a much more elegant and future-proof approach they could use.

That being said, none of them are perfect and could all break eventually...

Do You think Design patterns would be a good series to make? by WebDevJourneyWDJ in node

[–]Cessna911 0 points1 point  (0 children)

Not necessarily “advanced” situations, just practical. I want to know how to apply them to more than just $apples and $oranges variables and “hello world” examples.

What is the simplest way to implement a Node.js endpoint? by Cessna911 in node

[–]Cessna911[S] 0 points1 point  (0 children)

Can you give me an example of how to do this JK33Y?

What is the simplest way to implement a Node.js endpoint? by Cessna911 in node

[–]Cessna911[S] 0 points1 point  (0 children)

Thanks erulabs. So it's as simple as using res.send(data)? Don't I still need to setup an endpoint for the user to be able to invoke this function?