This is a template of a Rails application setup to quickly an Rails App that uses InertiaJS and React, powered by ViteJS.
The React component's are based on Chakra-UI and UnoCSS.
Tests are set up with RSpec and Jest.
This project is coded in VSCode and has configs for linting with ESLint, Prettier and Rubocop.
- Before Cloning make sure you have this installed:
- Ruby 3.2.0
- Node 18.14.0
If you have asdf installed, you can run asdf install
after you cloned the repo. (Make sure you have the node and ruby asdf plugins added)
- Clone Repo
- Install Ruby dependencies
bundle install
- Install Node dependencies
npm install
- Initialize Database
rails db:create & rails db:migrate & rails db:seed
- Start App in Dev mode
bin/dev