Skip to content

izumin5210-sandbox/rails-spa-with-omniauth-sample

Repository files navigation

Rails SPA with OmniAuth

MIT License

Features

Based on izumin5210/rails-modern-frontend-with-docker-sample

Server

  • Multiprovider authentication: OmniAuth
  • Access token: JWT (generating with jwt gem)

Client

  • Redux + redux-actions + redux-saga
  • Access token store: localStorage

Usage

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

License

MIT License.

Author

Masayuki Izumi (izumin5210)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published