github.com/LuckyCasts/lucky_jumpstart
1.1.0 / published Jul 5, 2022 / repository
Get up and running quickly with Lucky!
โ๏ธ Lucky Jumpstart
This is a template project for web applications using Lucky.
How to use it?
- Click this link
- Run
./script/setup - 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, included in
Procfile.dev
Dependencies
- ๐ ย Up-to-date Crystal dependencies
- ๐งถ ย Up-to-date Yarn dependencies
Tooling
- ๐จ ย TailwindCSS for better styling
- ๐ ย Tailwind Typography for prose
- ๐ ย Tailwind Forms to make styling forms easier
- ๐ฅ ย Tailwind Aspect Ratio for setting fixed aspect ratios
- ๐ ย StimulusJS for JavaScript sprinkles
- ๐ ย TypeScript for keeping JavaScript cleaner
Functionality
- ๐ง ย Email confirmation of users
CI/CD
-
๐ค ย A handy dandy Dependabot configuration file, and a workflow to handle auto-merging
-
A working GitHub Actions workflow with:
- ๐ ย Prettier
- ๐ ย Crystal Format
- ๐ฆ ย Ameba
- ๐ ย Crystal Spec
Deployment options
API
- Api
- ApiAction
Include modules and add methods that are for all API requests
- AppDatabase
- AppServer
- Auth
- AuthLayout
- BaseComponent
- BaseEmail
Learn about sending emails https://luckyframework.org/guides/emails/sending-emails-with-carbon
- BaseModel
- BaseSerializer
- BrowserAction
- ConfirmSignUp
- Dashboard
- ErrorSerializer
This is the default error serializer generated by Lucky.
- Errors
- Home
- MainLayout
- Marketing
- Me
- PasswordResetRequestEmail
- PasswordResetRequests
- PasswordResets
- PasswordValidations
- Ping
- RequestPasswordReset
- RequestSignUpConfirmation
- ResetPassword
- SaveUser
- SaveUserSettings
- Shared
- SignInUser
- SignIns
- SignUpAlreadyConfirmedEmail
- SignUpConfirmationEmail
- SignUpConfirmationRequests
- SignUpConfirmations
- SignUpUser
- SignUps
- UI
- User
- UserFromEmail
- UserQuery
- UserSerializer
- UserToken
Generates and decodes JSON Web Tokens for Authenticating users.
- Users