Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryan-haskell/elm-inertia-rails-starter
Use Rails and Elm together with Inertia.js!
https://github.com/ryan-haskell/elm-inertia-rails-starter
elm inertiajs rails
Last synced: 20 days ago
JSON representation
Use Rails and Elm together with Inertia.js!
- Host: GitHub
- URL: https://github.com/ryan-haskell/elm-inertia-rails-starter
- Owner: ryan-haskell
- Created: 2024-06-12T01:07:08.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-12T15:20:30.000Z (7 months ago)
- Last Synced: 2024-12-13T23:28:32.942Z (27 days ago)
- Topics: elm, inertiajs, rails
- Language: Elm
- Homepage:
- Size: 65.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# elm-inertia-rails-starter
A starter template for using [Elm](https://elm-lang.org) with a [Rails](https://rubyonrails.org) backend (powered by [Inertia.js](https://inertiajs.com)).
## Local development
### Required software
Name | How to check
--- | ---
[Ruby v3.3.2+](https://www.ruby-lang.org) | `ruby -v`
[Rails v7.1.3+](https://rubyonrails.org) | `rails -v`
[sqlite v3.43.2+](https://sqlite.org) | `sqlite --version`
[Node.js v20.14.0+](https://nodejs.org) | `node -v`### Running the web server
```sh
# Install ruby and node dependencies
bundle install
npm install# Initialize the SQL database
rails db:migrate# Runs the Rails server at http://localhost:3000
npm run dev
```