Here is a @sailsjs tip
In your actions2 action when you specify an example property for an input, the type of that input is inferred by RTTC.
So for the example, RTTC(Runtime Type-checking) will infer a type of string for the token.
github.com/node-machine/rttc
How do you all handle navigating back to the intended URL when a user tries visiting a page that needs authentication?
In The Boring JavaScript powered by @sailsjs, I just do this when a user lands on the sign in page
Then when I log in the user, I get the URL to redirect to (if it exists) from the session
I'm curious how you do this in the stack you are currently using.
See what's new in @sailsjs 1.5.6
Thanks to @poria_codes noticing we don't display the local dev server URL, this has been shipped in 1.5.6 for your improved development experience.
See the what's new screencast on the @sails_casts YouTube
youtu.be/XKQuucrvdfQ
Also read the release announcement
blog.sailscasts.com/sails-v1…
Feels like a dream but I'm officially now the lead maintainer of @sailsjs
Sails is a framework I love so much and I'm honored by this privilege
Thank you @mikermcneil
A little @sailsjs Shipwright update, I've so far been able to reproduce the current way frontend updates currently work with the grunt setup.
The cool thing is with Shipwright, you can write your frontend JavaScript in TypeScript if you will and it will handle it properly.
This is fun.
I'm satisfied with the way things are setup now, I might get ambitious and add reloading but for now its good enough.
Next step is to figure out how to replicate import.meta.glob() as seen in @vite_js so I can setup @inertiajs with ESM
Currently adding Google OAuth to wish.
I have put off adding more providers to wish but now that mellow needs a Google OAuth provider, I gotta write it 🥱
Long live JavaScript
With frameworks like @vuejs and @sailsjs I’m hopeful for the future of this ecosystem to provide a nurturing ground for builders to build with JavaScript across the stack.
We need stable
We need boring
Cheers to making JavaScript boring.
Okay finally have a working plugin for Shipwright to copy the static images and fonts directory.
Next, I need to figure out how to run .watch on ESBuild and still have the metafile 🤔
- Plan on finishing the Crowdfounding api i am building with @sails.js, to understand how it works
- Study my DSA challenge starting on sunday
- I have classes to teach starting from today