Git Product home page Git Product logo

tempura's Introduction


Tempura ๐Ÿค

A delightfully light and modern vanilla Rails stack for your next big idea.

ruby version rails version circle ci badge GitHub code size in bytes

What is Tempura?

Tempura is a modern and light vanilla Rails 7 stack which adheres to the Rails doctrine. It's a starter template for building wonderful software products with Rails.

Unlike my other template Bento, Tempura uses the new Rails 7 import maps and does not require any Node tooling. It's the default experience that's shipped with Rails 7 for writing frontend assets. That means you can write modern JavaScript without all the bundling and transpiling.

This template additionally takes advantage of Tailwind CSS to allow you to easily style your application with a utility based approach. It uses the tailwindcss-rails gem which wraps Tailwind's new standalone CLI utility.

What's in the box?

Tempura is light but powerful.

It provides a few staples:

  • All the major Rails 7 defaults (except for Test Unit in favour of Rspec)
  • Modern JavaScript using import maps
  • Modern CSS powered by Tailwind
  • Hotwire Stack (Turbo & Stimulus) for SPA-like JavaScript sprinkles without the SPA complexity.
  • Sidekiq for background jobs
  • Rspec for unit and system tests along with simplecov for coverage support
  • Capybara with headless Selenium integration tests and a pre-configured Github Actions config ready to go. See spec/system for an example.

Getting Started

Prerequisites

Installation

Make sure you've installed the dependencies above then:

Fork the repo:

git clone [email protected]:darokel/tempura.git

Set up your machine:

./bin/setup

Make sure the tests pass:

./bin/rake

Start the server:

./bin/dev

Go and build!

Deploying

This repo comes with a 1-click deployment option to Render:

Deploy to Render

There are also some scripts available to help with deploying to Render and setting up preview apps (Render's answer to Heroku review apps).

See DEPLOYMENT.md for more info on using the template with Render.

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgements

tempura's People

Contributors

darokel avatar deepsource-autofix[bot] avatar deepsourcebot avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.