enhance-dev / enhance-dev/fastify-plugin
Fastify Fruits Example
Open
- Dominant language
- JavaScript
- Stars
- 4
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'm testing your Enchance docs using your fruits example
I modified app/api/fruits.mjs but no enpont gives results
export async function get (req) {
let fruits = ['apple','banana','pears']
return {
json: { fruits }
}
}
http://localhost:3000/ works
http://localhost:3000/about works
http://localhost:3000/fruits shows a blank page
http://localhost:3000/api/fruits
Oops, something went wrong
/api/fruits not found
Curious to know what I'm doing wrong.
I have some rich examples using fastify and htmx and evaluating this repo for comparison
TIA
John
node 16.15.0 on windows 10 home
Contributor guide
Assessment
This issue has not been assessed yet.