Remix - Adonisjs #3985
Replies: 8 comments 5 replies
-
Hello, why doing this? |
Beta Was this translation helpful? Give feedback.
-
I have never worked with adonis, but i get your point and im also interested on something like this. Recently been using the Epic Stack because i dont wanna focus on the same authentication and caching and even models problems, if adonis can handle most of the backend so it is just querying and returning stuff I wanna try out with remix |
Beta Was this translation helpful? Give feedback.
-
There's nothing odd about that combo. The usual suspect is sharing types between the two if you're using TS. Other than that it's smooth sailing. |
Beta Was this translation helpful? Give feedback.
-
they are two servers, running them together would be the same as running remix and next together. since they're not just libs that you can add to any project I'd just run them separately, making both run in one server would be too much effort |
Beta Was this translation helpful? Give feedback.
-
For anyone revisiting the thread
|
Beta Was this translation helpful? Give feedback.
-
just wanted to add a quick thing : i'm not at all familiar with Remix. i have never tried it, but a while ago I came across this page:
basically: you can plug your own server into Remix. so I think it should be possible and relatively easy to run Remix and Adonis in a single Node process. all you have to do is make an adapter, like the one made for express, which should be fairly simple to do. and that would allow you to use Adonis and its features directly in your Remix "loaders": https://remix.run/docs/en/main/route/loader i tried the same thing recently but with Vike instead of Remix, which has the same principle basically, you can also plug in your own server, be it Express, Fastify or Adonis. worked great : it allowed me to use Adonis directly in my Vike API routes / Data fetching ( this is the Remix loaders equivalent ) i will give it a try when i've got the time, if by then nobody's done it |
Beta Was this translation helpful? Give feedback.
-
I built this some time ago for my SaaS when I realized that it was actually possible to embed Remix within AdonisJS. Julien and the core team has done a great job at integrating AdonisJS with Vite (Remix also uses Vite), so now the combination works even better than when I first built it 🙌 I have made it open source and available here: It's still a bit experimental, so feel free to check it out and report any bugs/issues you find. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the wonderful conversations I will close this for now. |
Beta Was this translation helpful? Give feedback.
-
Given the rise of these newish frameworks, has anyone tried to connect Remix Run with AdonisJS?
Beta Was this translation helpful? Give feedback.
All reactions