Skip to content

Latest commit

 

History

History
 
 

damianham

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

default

A copy of the amber built in app template to test the process of using a template from github. Create a new amber app with this template with the command;

amber new mynewapp -r damianham/default

modular

A recipe that organises controller, model and views into modules e.g.

  • src/modules
  • src/modules/post
  • src/modules/post/edit.slang
  • src/modules/post/_form.slang
  • src/modules/post/post_controller.cr
  • src/modules/post/show.slang
  • src/modules/post/post.cr
  • src/modules/post/index.slang
  • src/modules/post/new.slang

Create a new amber app with this template with the command;

amber new mynewapp -r damianham/modular