lucky_jumpstart

Version, currently 1.1.02 versions

github.com/LuckyCasts/lucky_jumpstart

Get up and running quickly with Lucky!

62 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  lucky_jumpstart:
    github: LuckyCasts/lucky_jumpstart
    version: ~> 1.1.0

Then run:

shards install

shard.yml

Crystal
1.2.2
Author
your-name-here <your-email-here>
Target
  • webserver from src/lucky_jumpstart.cr

Dependencies

Runtime Dependencies

  • jwt~> 1.6.0github: crystal-community/jwt
  • lucky~> 0.30.0github: luckyframework/lucky
  • carbon~> 0.2.1github: luckyframework/carbon
  • authentic~> 0.8.2github: luckyframework/authentic
  • lucky_env~> 0.1.4github: luckyframework/lucky_env

Development Dependencies

  • ameba~> 1.0github: crystal-ameba/amebadev
  • spark~> 1.15github: stephendolan/sparkdev
  • lucky_flow~> 0.7.0github: luckyframework/lucky_flowdev

README

# โ˜˜๏ธ Lucky Jumpstart

This is a template project for web applications using [Lucky](https://luckyframework.org).

![Lucky Jumpstart CI](https://github.com/stephendolan/lucky_jumpstart/workflows/Lucky%20Jumpstart%20CI/badge.svg)

### How to use it?

1. Click [this link](https://github.com/stephendolan/lucky_jumpstart/generate)
1. Run `./script/setup`
1. 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

- ๐Ÿณ &nbsp; A [DockerCompose](https://docs.docker.com/compose/) file for running your application database, included in `Procfile.dev`

#### Dependencies

- ๐Ÿ’Ž &nbsp; Up-to-date Crystal dependencies
- ๐Ÿงถ &nbsp; Up-to-date Yarn dependencies

#### Tooling

- ๐Ÿ’จ &nbsp; [TailwindCSS](https://tailwindcss.com) for better styling
- ๐Ÿ–‹ &nbsp; [Tailwind Typography](https://tailwindcss.com/docs/typography-plugin) for prose
- ๐Ÿ“ &nbsp; [Tailwind Forms](https://github.com/tailwindlabs/tailwindcss-forms) to make styling forms easier
- ๐Ÿ–ฅ &nbsp; [Tailwind Aspect Ratio](https://github.com/tailwindlabs/tailwindcss-aspect-ratio) for setting fixed aspect ratios
- ๐ŸŽ‰ &nbsp; [StimulusJS](https://stimulusjs.org) for JavaScript sprinkles
- ๐Ÿš€ &nbsp; [TypeScript](https://typescript.org) for keeping JavaScript cleaner

#### Functionality

- ๐Ÿ“ง &nbsp; Email confirmation of users

#### CI/CD

- ๐Ÿค– &nbsp; A handy dandy [Dependabot](https://dependabot.com/) configuration file, and a workflow to handle auto-merging

- A working GitHub Actions workflow with:
  - ๐Ÿ’ƒ &nbsp; [Prettier](https://prettier.io/)
  - ๐Ÿ’Ž &nbsp; [Crystal Format](https://crystal-lang.org/reference/using_the_compiler/#crystal-tool-format)
  - ๐Ÿฆ  &nbsp; [Ameba](https://github.com/crystal-ameba/ameba)
  - ๐Ÿ‘“ &nbsp; [Crystal Spec](https://crystal-lang.org/api/latest/Spec.html)

#### Deployment options

- ๐Ÿณ &nbsp; [Docker](https://www.docker.com), which enables any Dockerfile-based deployment like:
  - [Render](https://render.com)
  - [Digital Ocean Apps Platform](https://www.digitalocean.com/products/app-platform)
- ๐ŸŸฉ &nbsp; [Render](https://render.com) with a built-in `render.yaml` file
- ๐Ÿ‘พ &nbsp; [Heroku](https://luckyframework.org/guides/deploying/heroku) with a built-in `Procfile` file