3 ms·
I'm currently building out an app using AdonisJS. Its billed as a Rails like experience but in node. https://adonisjs.com/ https://adonisjs.com/ I did a compar
by hi_hi 1y ago
I'm currently building out an app using AdonisJS. Its billed as a Rails like experience but in node. https://adonisjs.com/ https://adonisjs.com/
I did a comparison between Rails, Adonis and Fiber (a Go "framework") before settling on Adonis (mostly due to node ecosystem and type safety).
It's been excellent so far, and the creator has an excellent series of tutorial videos that can get you up to speed quickly https://www.youtube.com/watch?app=desktop&v=jf5hHU0KT3Q https://www.youtube.com/watch?app=desktop&v=jf5hHU0KT3Q. The documentation is also good. LLMs can get tripped up by older versions which you need to look out for.
- dimitrisnl 1y agoI found the lack of 1st party auth system annoying. Phoenix, for example gives me a nice starting point (even magic links soon). Adonis for all its features, turns me to what I hate. The JS auth implementations.
- hi_hi 1y agoYeah, dealing with auth can be painful. The adonis provided auth and bouncer do a decent job of abstracting some of that away, but like most js implementations, it's got rough edges (the docs and vids really help). I'm not familiar with Elixir/Phoenix, but from reading other recommendations in this thread and after having a quick look, I need to take a closer look :-)
- dimitrisnl 1y agoIs there a 1st party auth package? I can't remember any - They were guiding you to the adoniscasts videos, which some are paid. Very hard to get traction like this.
- banashark 1y agohttps://docs.adonisjs.com/guides/authentication/introduction https://docs.adonisjs.com/guides/authentication/introduction "AdonisJS ships with a robust and secure authentication system you can use to log in and authenticate users of your application. Be it a server-rendered application, a SPA client, or a mobile app, you can set up authentication for all of them."
- dimitrisnl 1y agoThere's no login/register/reset/forget pages generated. Neither their controllers. Only some basic middleware for that.