Skip to content

Granite ORM modular application recipe for the amber web framework

License

Notifications You must be signed in to change notification settings

damianham/amber_modular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

amber_modular

Granite ORM modular application recipe for the amber web framework

Provides application, model, controller, scaffold templates that use the Granite ORM.

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 myapp -r damianham/amber_modular