├── .github └── workflows │ └── ci.yml ├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── shard.yml ├── spec ├── application_spec.cr ├── cli_spec.cr └── spec_helper.cr └── src ├── fez.cr ├── fez ├── application.cr ├── cli.cr ├── default_options.cr ├── errors.cr └── version.cr └── templates ├── api ├── .env_tmpl ├── .gitignore ├── .travis.yml ├── Capfile ├── Gemfile ├── Guardfile_tmpl ├── Makefile ├── README.md_tmpl ├── app.cr ├── config.cr_tmpl ├── config │ ├── deploy.rb_tmpl │ └── deploy │ │ └── production.rb ├── shard.yml_tmpl ├── spec │ ├── kemal_api_spec.cr │ └── spec_helper.cr └── src │ ├── macros │ └── helper.cr │ └── {{name}}.cr ├── ecr ├── .env_tmpl ├── .gitignore ├── .travis.yml ├── Capfile ├── Gemfile ├── Guardfile_tmpl ├── Makefile ├── README.md_tmpl ├── app.cr ├── config.cr_tmpl ├── config │ ├── deploy.rb_tmpl │ └── deploy │ │ └── production.rb ├── es2js.rb ├── public │ ├── favicon.ico │ └── robots.txt ├── shard.yml_tmpl ├── spec │ ├── kemal_ecr_spec.cr │ └── spec_helper.cr └── src │ ├── assets │ ├── scripts │ │ ├── manifest.yml │ │ └── site.es6 │ └── styles │ │ └── site.scss │ ├── macros │ └── helper.cr │ ├── views │ ├── layouts │ │ └── layout.ecr_tmpl │ └── site │ │ └── index.ecr │ └── {{name}}.cr └── slang ├── .env_tmpl ├── .gitignore ├── .travis.yml ├── Capfile ├── Gemfile ├── Guardfile_tmpl ├── Makefile ├── README.md_tmpl ├── app.cr ├── config.cr_tmpl ├── config ├── deploy.rb_tmpl └── deploy │ └── production.rb ├── es2js.rb ├── public ├── favicon.ico └── robots.txt ├── shard.yml_tmpl ├── spec ├── kemal_slang_spec.cr └── spec_helper.cr └── src ├── assets ├── scripts │ ├── manifest.yml │ └── site.es6 └── styles │ └── site.scss ├── macros └── helper.cr ├── views ├── layouts │ └── layout.slang_tmpl └── site │ └── index.slang └── {{name}}.cr /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/README.md -------------------------------------------------------------------------------- /shard.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/shard.yml -------------------------------------------------------------------------------- /spec/application_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/spec/application_spec.cr -------------------------------------------------------------------------------- /spec/cli_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/spec/cli_spec.cr -------------------------------------------------------------------------------- /spec/spec_helper.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/spec/spec_helper.cr -------------------------------------------------------------------------------- /src/fez.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/fez.cr -------------------------------------------------------------------------------- /src/fez/application.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/fez/application.cr -------------------------------------------------------------------------------- /src/fez/cli.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/fez/cli.cr -------------------------------------------------------------------------------- /src/fez/default_options.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/fez/default_options.cr -------------------------------------------------------------------------------- /src/fez/errors.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/fez/errors.cr -------------------------------------------------------------------------------- /src/fez/version.cr: -------------------------------------------------------------------------------- 1 | module Fez 2 | VERSION = {{ `shards version "#{__DIR__}"`.chomp.stringify }} 3 | end 4 | -------------------------------------------------------------------------------- /src/templates/api/.env_tmpl: -------------------------------------------------------------------------------- 1 | KEMAL_ENV=development 2 | PORT=3001 3 | -------------------------------------------------------------------------------- /src/templates/api/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/api/.gitignore -------------------------------------------------------------------------------- /src/templates/api/.travis.yml: -------------------------------------------------------------------------------- 1 | language: crystal 2 | -------------------------------------------------------------------------------- /src/templates/api/Capfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/api/Capfile -------------------------------------------------------------------------------- /src/templates/api/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/api/Gemfile -------------------------------------------------------------------------------- /src/templates/api/Guardfile_tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/api/Guardfile_tmpl -------------------------------------------------------------------------------- /src/templates/api/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/api/Makefile -------------------------------------------------------------------------------- /src/templates/api/README.md_tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/api/README.md_tmpl -------------------------------------------------------------------------------- /src/templates/api/app.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/api/app.cr -------------------------------------------------------------------------------- /src/templates/api/config.cr_tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/api/config.cr_tmpl -------------------------------------------------------------------------------- /src/templates/api/config/deploy.rb_tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/api/config/deploy.rb_tmpl -------------------------------------------------------------------------------- /src/templates/api/config/deploy/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/api/config/deploy/production.rb -------------------------------------------------------------------------------- /src/templates/api/shard.yml_tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/api/shard.yml_tmpl -------------------------------------------------------------------------------- /src/templates/api/spec/kemal_api_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/api/spec/kemal_api_spec.cr -------------------------------------------------------------------------------- /src/templates/api/spec/spec_helper.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/api/spec/spec_helper.cr -------------------------------------------------------------------------------- /src/templates/api/src/macros/helper.cr: -------------------------------------------------------------------------------- 1 | # use this file to create helpful macros 2 | -------------------------------------------------------------------------------- /src/templates/api/src/{{name}}.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/api/src/{{name}}.cr -------------------------------------------------------------------------------- /src/templates/ecr/.env_tmpl: -------------------------------------------------------------------------------- 1 | KEMAL_ENV=development 2 | PORT=3001 3 | -------------------------------------------------------------------------------- /src/templates/ecr/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/.gitignore -------------------------------------------------------------------------------- /src/templates/ecr/.travis.yml: -------------------------------------------------------------------------------- 1 | language: crystal 2 | -------------------------------------------------------------------------------- /src/templates/ecr/Capfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/Capfile -------------------------------------------------------------------------------- /src/templates/ecr/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/Gemfile -------------------------------------------------------------------------------- /src/templates/ecr/Guardfile_tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/Guardfile_tmpl -------------------------------------------------------------------------------- /src/templates/ecr/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/Makefile -------------------------------------------------------------------------------- /src/templates/ecr/README.md_tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/README.md_tmpl -------------------------------------------------------------------------------- /src/templates/ecr/app.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/app.cr -------------------------------------------------------------------------------- /src/templates/ecr/config.cr_tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/config.cr_tmpl -------------------------------------------------------------------------------- /src/templates/ecr/config/deploy.rb_tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/config/deploy.rb_tmpl -------------------------------------------------------------------------------- /src/templates/ecr/config/deploy/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/config/deploy/production.rb -------------------------------------------------------------------------------- /src/templates/ecr/es2js.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/es2js.rb -------------------------------------------------------------------------------- /src/templates/ecr/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/templates/ecr/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/public/robots.txt -------------------------------------------------------------------------------- /src/templates/ecr/shard.yml_tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/shard.yml_tmpl -------------------------------------------------------------------------------- /src/templates/ecr/spec/kemal_ecr_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/spec/kemal_ecr_spec.cr -------------------------------------------------------------------------------- /src/templates/ecr/spec/spec_helper.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/spec/spec_helper.cr -------------------------------------------------------------------------------- /src/templates/ecr/src/assets/scripts/manifest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/src/assets/scripts/manifest.yml -------------------------------------------------------------------------------- /src/templates/ecr/src/assets/scripts/site.es6: -------------------------------------------------------------------------------- 1 | let logger = msg => { window.console.log(msg); } 2 | -------------------------------------------------------------------------------- /src/templates/ecr/src/assets/styles/site.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/src/assets/styles/site.scss -------------------------------------------------------------------------------- /src/templates/ecr/src/macros/helper.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/src/macros/helper.cr -------------------------------------------------------------------------------- /src/templates/ecr/src/views/layouts/layout.ecr_tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/ecr/src/views/layouts/layout.ecr_tmpl -------------------------------------------------------------------------------- /src/templates/ecr/src/views/site/index.ecr: -------------------------------------------------------------------------------- 1 |

Welcome

-------------------------------------------------------------------------------- /src/templates/ecr/src/{{name}}.cr: -------------------------------------------------------------------------------- 1 | get "/" do 2 | view("site/index") 3 | end 4 | -------------------------------------------------------------------------------- /src/templates/slang/.env_tmpl: -------------------------------------------------------------------------------- 1 | KEMAL_ENV=development 2 | PORT=3001 3 | -------------------------------------------------------------------------------- /src/templates/slang/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/.gitignore -------------------------------------------------------------------------------- /src/templates/slang/.travis.yml: -------------------------------------------------------------------------------- 1 | language: crystal 2 | -------------------------------------------------------------------------------- /src/templates/slang/Capfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/Capfile -------------------------------------------------------------------------------- /src/templates/slang/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/Gemfile -------------------------------------------------------------------------------- /src/templates/slang/Guardfile_tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/Guardfile_tmpl -------------------------------------------------------------------------------- /src/templates/slang/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/Makefile -------------------------------------------------------------------------------- /src/templates/slang/README.md_tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/README.md_tmpl -------------------------------------------------------------------------------- /src/templates/slang/app.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/app.cr -------------------------------------------------------------------------------- /src/templates/slang/config.cr_tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/config.cr_tmpl -------------------------------------------------------------------------------- /src/templates/slang/config/deploy.rb_tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/config/deploy.rb_tmpl -------------------------------------------------------------------------------- /src/templates/slang/config/deploy/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/config/deploy/production.rb -------------------------------------------------------------------------------- /src/templates/slang/es2js.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/es2js.rb -------------------------------------------------------------------------------- /src/templates/slang/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/templates/slang/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/public/robots.txt -------------------------------------------------------------------------------- /src/templates/slang/shard.yml_tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/shard.yml_tmpl -------------------------------------------------------------------------------- /src/templates/slang/spec/kemal_slang_spec.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/spec/kemal_slang_spec.cr -------------------------------------------------------------------------------- /src/templates/slang/spec/spec_helper.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/spec/spec_helper.cr -------------------------------------------------------------------------------- /src/templates/slang/src/assets/scripts/manifest.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/src/assets/scripts/manifest.yml -------------------------------------------------------------------------------- /src/templates/slang/src/assets/scripts/site.es6: -------------------------------------------------------------------------------- 1 | let logger = msg => { window.console.log(msg); } 2 | -------------------------------------------------------------------------------- /src/templates/slang/src/assets/styles/site.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/src/assets/styles/site.scss -------------------------------------------------------------------------------- /src/templates/slang/src/macros/helper.cr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/src/macros/helper.cr -------------------------------------------------------------------------------- /src/templates/slang/src/views/layouts/layout.slang_tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jwoertink/fez/HEAD/src/templates/slang/src/views/layouts/layout.slang_tmpl -------------------------------------------------------------------------------- /src/templates/slang/src/views/site/index.slang: -------------------------------------------------------------------------------- 1 | h1 Welcome -------------------------------------------------------------------------------- /src/templates/slang/src/{{name}}.cr: -------------------------------------------------------------------------------- 1 | get "/" do 2 | view("site/index") 3 | end 4 | --------------------------------------------------------------------------------