Based on izumin5210/rails-modern-frontend-with-docker-sample
- Multiprovider authentication: OmniAuth
- Access token: JWT (generating with jwt gem)
- Redux + redux-actions + redux-saga
- Access token store: localStorage
Command examples:
# Run rails server(puma) and watch client scripts/styles
$ docker-compose up [--build]
# Run `bundle install`
$ docker-compose run --rm puma bundle install
# Add node packages
$ docker-compose run --rm yarn yarn add <package>
# Migrate db
$ docker-compose run --rm puma rails db:migrate
# Run server-side tests
$ docker-compose run --rm puma rspec
# Run client-side tests
$ docker-compose run --rm yarn yarn test
Masayuki Izumi (izumin5210)