This is Tasks Manager application example using Rails
and Stimulus Reflex
.
After clone this project, you need to install the ruby depedencies from your Gemfile running bundle install
and the javascript dependencies with yarn install
.
Next step is create the database (Postgresql) with this command rails db:create
and execute all the migrations rails db:migrate
.
We have two servers, Rails server and Webpack dev server, if you want to run both at once just install Foreman with foreman start -p 3000
, the flag -p
indicates the port.
If you prefer run servers individually, for Rails server use rails s
and for webpack dev server bin/webpack-dev-server
.