Comment Comment by 33degrees https://blitzjs.com/ does something similar, where you can write server side code inside components and it turns it into an API parent 33degrees 5 years ago