Adonis suitable for building Rest API? #1700
-
After building a couple Rest API servers with plain Node I'm looking to adopt Adonis for my next Rest project. Is Adonis primary used for building SSR or both, REST and SSR? |
Beta Was this translation helpful? Give feedback.
Answered by
thetutlage
Oct 1, 2020
Replies: 1 comment 3 replies
-
The question is a bit broader and hard to answer. It will be nice, if you can share the specific on what exactly you would want from an API server? As far as SSR is concerned. It is just a matter of not installing the view package and returning JSON from your controller methods :) |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
vnugent
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The question is a bit broader and hard to answer. It will be nice, if you can share the specific on what exactly you would want from an API server?
As far as SSR is concerned. It is just a matter of not installing the view package and returning JSON from your controller methods :)