🍹 juicer - A scaffolding tool for Fresh projects

image

Install

$ deno install -Arf https://deno.land/x/juicer/juicer.ts

Usage

$ juicer

Create REST API from a magic spell

$ juicer rest <CollectionName> <FieldName>:<Type> <FieldName>:<Type> ...

for example:

$ juicer rest memo text:string tags:string\[\]

make sure to escape brackets if you use Zsh.

When you start fresh dev server, you can access admin UI:

http://localhost:8000/api/memo/admin

image

TODO

  • island
  • routes + Custom Handler
  • KV glue code
  • REST API
  • routes with Markdown rendering
  • form style CRUD
  • Auth snippet