Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

hazae41/create-aleph-vercel-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aleph.js website + Node.js Vercel functions

Build an Aleph website that uses Node.js Vercel functions

Live test

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

Development

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)

Deployment

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

Releases

No releases published

Packages

No packages published