Until this is merged, it's available via npx elm-fullstack@next, for example
$ npx elm-fullstack@next element helloworld
npx: installed 1 in 3.446s
Initializing helloworld ...
now execute:
1. cd helloworld
2. make install
3. make
Here's how I setup my API Gateway
The Lambda side looks weird, complaining about doesn’t include a route with path /*
But things work.. so 🤷
Remember to set environment variable LAMBDA=true for AWS Lambda, otherwise it won't work (with an error about index.handler not exported)
Optionally set env ASSETS_HOST to use your CDN, e.g. ASSETS_HOST=https://assets.example.com
Until this is merged, it's available via
npx elm-fullstack@next
, for exampleHere's how I setup my API Gateway
The Lambda side looks weird, complaining about
doesn’t include a route with path /*
But things work.. so 🤷
Remember to set environment variable
LAMBDA=true
for AWS Lambda, otherwise it won't work (with an error aboutindex.handler
not exported)Optionally set env
ASSETS_HOST
to use your CDN, e.g.ASSETS_HOST=https://assets.example.com