Skip to content

jahammo2/webpacker-devise-token-auth-graphql-boilerplate

Repository files navigation

Webpacker Devise Token Auth GraphQL Boilerplate

Table of Contents

Setup

  1. Set up Heroku
  2. Set up Travis in repo
  3. Set variables in heroku
  4. Update names in:
    • config/database.example.yml
    • config/application.rb
    • app/views/layouts/application.html.erb
    • app/services/graphql/execute.rb
    • app/javascript/packs/src/components/authentication/RecoverPassword/index.jsx
    • app/graphql/webpacker_devise_token_auth_graphql_boilerplate.rb
  5. cp config/database.example.yml config/database.yml
  6. bundle install
  7. yarn install
  8. rails db:setup
  9. Run bundle exec rspec
  10. Run bundle exec rubocop
  11. Run yarn test
  12. Run yarn lint

Testing

  1. rspec

Linting

  1. npm run lint-fix
  2. rubocop -a

Local Development

  1. In one terminal, run ./bin/webpack-dev-server
  2. In another, run rails s
  3. Visit http://localhost:3000/#/

About

A boilerplate for Rails with React, Webpacker, Devise Token Auth, GraphQL, Redux, Mailgun, RSpec JS testing, and more

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published