crystal-views
โ๏ธ Lucky Jumpstart
This is a template project for web applications using Lucky.
How to use it?
- Click this link
- Replace every instance of
crystal_views
with your application name, for example:mv src/crystal_views.cr src/your_app.cr
rg crystal_views -l | xargs sed -i '' 's/crystal_views/your_app/g'
- You can also simply run
./script/rename_template_app your_app
- Run
./script/setup
- Run
docker-compose up
- Run
lucky dev
Why use a template?
There are quite a few things I find myself adding to every Lucky application out of the box, and this serves as a bit of a better starting point than the default generated application.
What's in the box?
Development
- ๐ณ ย A DockerCompose file for running your application database
Dependencies
- ๐ ย Up-to-date Crystal dependencies
- ๐งถ ย Up-to-date Yarn dependencies
Tooling
- ๐ฝ ย TailwindCSS for better styling
- ๐ป ย TailwindUI for fancy components
- ๐ ย StimulusJS for JavaScript sprinkles
- ๐ ย TypeScript for keeping JavaScript cleaner
CI/CD
-
๐ณ ย A Dockerfile that can run LuckyFlow specs
-
๐ค ย A handy dandy Dependabot configuration file
-
A working GitHub Actions workflow with:
- ๐ ย Prettier
- ๐ ย Crystal Format
- ๐ฆ ย Ameba
- ๐ ย Crystal Spec
Repository
crystal-views
Owner
Statistic
- 1
- 0
- 0
- 0
- 6
- about 4 years ago
- August 23, 2020
License
Links
Synced at
Thu, 21 Nov 2024 11:52:51 GMT
Languages