All Projects → peterberkenbosch → rails-starter-template

peterberkenbosch / rails-starter-template

Licence: MIT License
Opinionated Rails starter template using esbuild, tailwindcss, postgresql and hotwired.

Programming Languages

ruby
36898 projects - #4 most used programming language
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to rails-starter-template

helpafamily
Impactful ways to help families in need through donated meals, hygiene kits, and more. By Margarita Humanitarian Foundation.
Stars: ✭ 41 (+95.24%)
Mutual labels:  tailwindcss, hacktoberfest2021
football-team-flags
Flags from national teams made with css 🏳
Stars: ✭ 19 (-9.52%)
Mutual labels:  hacktoberfest2021
ListBot
ListBot is a Discord Bot which let's you create community lists on each channel.
Stars: ✭ 22 (+4.76%)
Mutual labels:  hacktoberfest2021
sapper-postcss-template
A template that includes Sapper for Svelte and PostCSS preprocessing with Tailwind CSS
Stars: ✭ 84 (+300%)
Mutual labels:  tailwindcss
Lets-Build
No description or website provided.
Stars: ✭ 20 (-4.76%)
Mutual labels:  hacktoberfest2021
HACKTOBERFEST2021 INSPIRATION
😎A Hacktoberfest-2021 Contribution Repository For Beginners😎...Simplest Repo for Beginners👨‍💻👨‍💻👨‍💻...Add your Profile Details, Photo and Inspirational Quote 🙌🙌🙌& There you go to do your first PR❤❤❤
Stars: ✭ 30 (+42.86%)
Mutual labels:  hacktoberfest2021
code-snippets
ServiceNow's Code Snippets community repository, managed by the Developer Program and the sndevs Slack community.
Stars: ✭ 66 (+214.29%)
Mutual labels:  hacktoberfest2021
Microsoft-Udacity-ML-scholarship
Just give your best shot!
Stars: ✭ 64 (+204.76%)
Mutual labels:  hacktoberfest2021
XT-TailwindCSS-Starter
A Tailwind CSS Starter. Based on Tailwind CSS, Webpack, PostCSS, and cssnano. Fully optimized for top performance.
Stars: ✭ 19 (-9.52%)
Mutual labels:  tailwindcss
next-pwa-template
Next.js progressive web app template
Stars: ✭ 266 (+1166.67%)
Mutual labels:  tailwindcss
vue-3-stackter
A Vue3 starter project setup with Vite, Vue-meta, Router, Vuex, Eslint, Prettier, Tailwind CSS, and some custom preferences. Also, there is a TypeScript branch of this same setup.
Stars: ✭ 93 (+342.86%)
Mutual labels:  tailwindcss
php-cron-expr
Ultra lightweight, Dependency free and Super Fast Cron Expression parser for PHP
Stars: ✭ 42 (+100%)
Mutual labels:  hacktoberfest2021
NYTimes-Compose
An offline-first application in Jetpack Compose with MVVM architecture, representing a minimalistic implementation of Top Stories API.
Stars: ✭ 98 (+366.67%)
Mutual labels:  hacktoberfest2021
markushatvan.com
Personal website and blog written from scratch with SvelteKit and TailwindCSS.
Stars: ✭ 82 (+290.48%)
Mutual labels:  tailwindcss
pythoncharmers
Small beginners python programs.
Stars: ✭ 33 (+57.14%)
Mutual labels:  hacktoberfest2021
nextal
Starter template for NextJs with TypeScript. Supports Tailwind with CSS-Modules. Jest and @react/testing-library configured and ready to go. Also ESLint, Prettier, Husky, Commit-lint and Atomic Design for components.
Stars: ✭ 88 (+319.05%)
Mutual labels:  tailwindcss
Daily-Coding-DS-ALGO-Practice
A open source project🚀 for bringing all interview💥💥 and competative📘 programming💥💥 question under one repo📐📐
Stars: ✭ 255 (+1114.29%)
Mutual labels:  hacktoberfest2021
Hacktoberfest2021
This is repo to create some pull requests and completing hacktoberfest2021 easily. All request will be accepted. Genuine Pull Request will promoted also. #hacktobefest #hacktobefest2021 #hacktobefest-accepted
Stars: ✭ 22 (+4.76%)
Mutual labels:  hacktoberfest2021
ML-Reserve
An Open-Source repository where students could showcase their skills by contributing their ML and DL projects!
Stars: ✭ 15 (-28.57%)
Mutual labels:  hacktoberfest2021
Tauros
Um bot para Discord com diversas funções e dashboard para configuração!
Stars: ✭ 27 (+28.57%)
Mutual labels:  hacktoberfest2021

Rails starter template

Opiniated Rails setup with the latest Rails, using PostgreSQL, TailwindCSS, Stimulus, Hotwire and RSpec.

Using jsbundling-rails for javacript, and TailwindCSS through PostCSS with cssbundling-rails. For easy loading of all stimulus controllers we use esbuild-rails.

You need the following installed:

  • Ruby >= 3
  • Bundler (gem install bundler)
  • Node (brew install node)
  • Yarn (brew install yarn)
  • Overmind (brew install tmux overmind)
  • Postgresql (brew install postgresql start with: brew services start postgresql)
  • Redis (brew install redis start with: brew services start redis)

Optional: Docker to use with the preconfigured dip.yml to setup a dockerized dev environment using dip

Getting started

Initial application setup

Run the setup script that will run the needed setup steps for the application, installing all gems and packages, database preparing etc.

$ bin/setup

Provisioning and interacting with Docker and dip

You need docker and docker-compose installed (for MacOS just use official app).

This app uses the dip CLI, a utility CLI tool for straightforward provisioning and interactions with applications configured by docker-compose.

$ gem install dip
$ dip provision

Take a look at the dip.yml file for the available commands

Development

Will run Overmind (or Foreman if Overmind is not installed), builds all assets automaticly and will start the rails server and sidekiq

$ bin/dev

When using dip & overmind:

$ overmind s -f Procfile.dip.dev

Code Guidelines

It uses StandardRB for Ruby to automatically fix code style offenses.

$ bundle exec standardrb

to automatically format Ruby with StandardRB you can run:

$ bundle exec standardrb --fix

For Javascript we use StandardJS.

$ yarn standard

to automatically format the javascript with StandardJS you can run:

$ yarn standard --fix

Running the specs

To run all the specs you can run:

$ rake

or use RSpec directly with

$ bundle exec rspec

Inside the docker container we have 2 different commands. To just run the unit tests:

$ dip rspec

and to just run the system specs:

$ dip rspec system
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].