Build an Aleph website that uses Node.js Vercel functions
You can test this on: https://aleph.vercel.app/
This app is built with Aleph but its API uses Node.js
The content is retrieved from the API when you load the page
It runs well locally, you just have to run an Aleph process for the website and a Vercel process for the API
Run the website (in root folder): $ aleph dev app
(install aleph)
Run the API (in root folder): $ vercel dev
(install vercel CLI)
Just use this configuration for your project on Vercel
Build command: curl -fsSL https://deno.land/x/install/install.sh | sh && /vercel/.deno/bin/deno run -A https://deno.land/x/aleph/cli.ts build app
Output directory: app/dist