Skip to content

jQwitt/cookbook.v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cookbook.v2

cookbook

A CLI to quickly clone personal project recipes and eliminate boilerplate - reducing time to deployment.

Supported Recipes

Client
  • html
    • default - local css stylesheet
    • tailwind-css - tailwind css CDN
  • htmx
    • quick - tailwind / postcss, typescript with hot reload, KOA backend, prisma integrated
Server
  • express
    • default - basic JS express server
    • typescript - typescript enabled express server with hot reload

Usage

cook

  --name="{PROJECT NAME}"     # optional, bypasses first prompt for project name
  --no-greeting, -ng          # optional, skips greeting text
  --dev, -d                   # optional, development / debug logging

To install for global usage on unix systems:

# add to you ~/.zshrc
alias prep-kitchen="unalias cook && cd /Volumes/SSD/projects/cookbook.v2 && nvm use && pnpm prep && cd ~"

# open new terminal shell
prep-kitchen && cook

Occasionally repetitive runs of this command may cause issues, which can be solved by unaliasing cook:

unalias cook

Dev Setup

Built using nvm and pnpm. To develop locally:

nvm use && pnpm

pnpm start # run entry script locally

Tests and coverage supplied by jest:

nvm use && pnpm test

Production build + global install controls coming soon!

About

Iteration on cookbook, a tool of personal project recipes to eliminate boilerplate and reduce time to start developing ideas.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors