This is a template project for web applications using Lucky.
- Click this link
- Replace every instance of
component_basics
with your application name, for example:mv src/component_basics.cr src/{your_app}.cr
rg component_basics -l | xargs sed -i '' 's/component_basics/{your_app}/g'
- Run
./script/setup
- Run
docker-compose up
- Run
lucky dev
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.
- 🐳 A DockerCompose file for running your application database
- 💎 Up-to-date Crystal dependencies
- 🧶 Up-to-date Yarn dependencies
- 😽 TailwindCSS for better styling
- 😻 TailwindUI for fancy components
- 🎉 StimulusJS for JavaScript sprinkles
- 🚀 TypeScript for keeping JavaScript cleaner
-
🐳 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