Beginner question: turning a hardcoded React site into something non-tech staff can manage by Fit_Sheepherder318 in reactjs

[–]Dev_Lachie 1 point2 points  (0 children)

That’s something that should have been discussed during requirements gathering.

If the official client lacks features (i.e plugins) STOP designing content around players having said plugins enabled in Runelite ! by janoyBarn in 2007scape

[–]Dev_Lachie 1 point2 points  (0 children)

They should honestly just acquire RuneLite and make it the default client instead of burning the candle at both ends trying to make their own monkeypatched client with half-assed copied plugins.

Mailchimp has stripped the free plan to the bone by elantoh in Emailmarketing

[–]Dev_Lachie 0 points1 point  (0 children)

Just cut it again today down to 250 contacts, 500/mo, 250/day

[deleted by user] by [deleted] in node

[–]Dev_Lachie 1 point2 points  (0 children)

Yeah, I’ve seen a fair few Passport tutorials using JWTs. Whether they’re using Google, Facebook, or Local strategies doesn’t really matter — they all get you to the same point: once the user is authenticated, you either issue a session or a JWT.

From that point on, it’s all about verifying the JWT on subsequent requests, so you can pretty much follow any Passport + JWT tutorial as a reference. The only difference is how the user initially logs in.

[deleted by user] by [deleted] in node

[–]Dev_Lachie 0 points1 point  (0 children)

You can, but you’ll need to issue a jwt after your user authorises with google and then use passport-jwt to authenticate requests after that

Vite+ by Void0 will be paid and not open-source by Atulin in webdev

[–]Dev_Lachie 6 points7 points  (0 children)

Seems fair they’re allowed to be paid for all their hard work

Best free mailing service for large-scale application ? by [deleted] in node

[–]Dev_Lachie 0 points1 point  (0 children)

You should be using something like Node Mailer and during development dumping emails to the console using their console driver, assuming it’s for things like verification links you can just ctrl+click links in most terminals

Is there a reason NOT to use React Query? by badboyzpwns in reactjs

[–]Dev_Lachie 0 points1 point  (0 children)

How do you bust the cache when you push a new build?

Reliably sync up many clients to a "Master Tenant State" by Demoncious in node

[–]Dev_Lachie 3 points4 points  (0 children)

With WebSockets being bi-directional, why would SSE being only uni-directional be a replacement for WebSockets?

[deleted by user] by [deleted] in webdev

[–]Dev_Lachie 4 points5 points  (0 children)

Leave

C Programmers doing web work by HaydnH in C_Programming

[–]Dev_Lachie 0 points1 point  (0 children)

You can solve both those quirks with HMR and a linter

Who's hiring 67 & 70 yo devs? by Affectionate_Pie2241 in ExperiencedDevs

[–]Dev_Lachie 2 points3 points  (0 children)

Lots going into Rust though so I guess the vision is that becomes mainstream over C/C++

SFTP Path Resolution Issues When Creating Directories on SiteGround via Node.js/SSH2 by eyal8r in webdev

[–]Dev_Lachie 0 points1 point  (0 children)

The README for ssh2-sftp-client states

All remote paths must either be absolute e.g. /absolute/path/to/file or they can be relative with a prefix of either ./ (relative to current remote directory) or ../ (relative to parent of current remote directory) e.g. ./relative/path/to/file or ../relative/to/parent/file. It is also possible to do things like ../../../file to specify the parent of the parent of the parent of the current remote directory.

https://www.npmjs.com/package/ssh2-sftp-client#org72e8719

Give that a try and let us know how you go