You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we use ftd to generate HTML pages. We have abilities like executing SQL or calling HTTP apis from ftd file, but their data is exposed only has rendered HTML.
We want to be able to return JSON and HTTP redirect, HTTP 404 (and other HTTP responses).
Our goal is to make fastn a full stack language. With the other changes that are going in 0.4 release, our function capability will increase with time, and we can do more and more stuff you would have done in other languages.
As a concrete litmus test of this goal, we want to build the backend of fastn hosting infrastructure using these features.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently we use ftd to generate HTML pages. We have abilities like executing SQL or calling HTTP apis from ftd file, but their data is exposed only has rendered HTML.
We want to be able to return JSON and HTTP redirect, HTTP 404 (and other HTTP responses).
ftd.redirect
ftd.json
ftd.not-found
Our goal is to make fastn a full stack language. With the other changes that are going in 0.4 release, our function capability will increase with time, and we can do more and more stuff you would have done in other languages.
As a concrete litmus test of this goal, we want to build the backend of fastn hosting infrastructure using these features.
Beta Was this translation helpful? Give feedback.
All reactions