Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tmtocb/palabra-translategame-tdd
Rails 6 app where you can learn words and translations using external Language API, full test suite with RSpec, devise for authentication, pundit for authorization, Travis-CI, Heroku, Brakeman, Bundler-Audit, Pry in development/production.
https://github.com/tmtocb/palabra-translategame-tdd
bootstrap devise external-apis heroku-deployment postgresql rails-api rails6 rspec ruby-on-rails tdd travis-ci travis-ci-github
Last synced: 15 days ago
JSON representation
Rails 6 app where you can learn words and translations using external Language API, full test suite with RSpec, devise for authentication, pundit for authorization, Travis-CI, Heroku, Brakeman, Bundler-Audit, Pry in development/production.
- Host: GitHub
- URL: https://github.com/tmtocb/palabra-translategame-tdd
- Owner: tmtocb
- Created: 2021-01-23T13:34:41.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-09T21:58:32.000Z (almost 4 years ago)
- Last Synced: 2024-10-18T16:38:27.787Z (2 months ago)
- Topics: bootstrap, devise, external-apis, heroku-deployment, postgresql, rails-api, rails6, rspec, ruby-on-rails, tdd, travis-ci, travis-ci-github
- Language: Ruby
- Homepage: https://rails-translator-tdd.herokuapp.com/
- Size: 616 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Palabra app - learn words and translation in different languages.
---
![](palabragame.png)
![](palabranew.png)
![](palabralist.png)---
## Stack
* as language.
* as framework.
* as database.
* for continuous-deployment in production (with always forced SSL connection)
* for continuous-integration
* as CSS framework.
* for Front-End styling.
* for scripts, nested forms and styling.
* for version control, in this project I have learned branching, pull requests and merging.
* for styling and scripts as I moved from Rails asset pipeline.
* **RSpec, FactoryBot, Shoulda-Matchers, Guard-RSpec** as test suite stack.
* gem **language_list** for external Language API list used in database.
* gem **devise** for authentication.
* gem **pundit** for authorization.
* gem **rubocop** for static-code-analysis
* gem **brakeman** for security vulnerability checks.
* gem **bundler-audit** for Bundler security verification
* gem **kaminari** for pagination.
* gem **bullet** in development for killing n+1 queries.
* gem **pry** for debugging.
* Rails debbuger in development.
* gem **faker** for seed sample data.
* gem **nested_forms** for nested Javascript forms.
* gem **simple_form** for clean forms.
* Google Fonts
* **Font-Awesome** as an icon toolkit.
* responsive layout meta tag for mobiles.
* HTML5 shim for pre-9 Internet Explorer browsers.---
## Configuration & dependencies
### System dependencies
`Ruby: 2.7.2p137`
`Rails: 6.0.3.4`
`database: postgresql`
### Configuration
`git clone https://github.com/tmtocb/palabra-translator-TDD`
`bundle install`
### Database
`rails db:drop db:create db:migrate`
`rails db:seed` to seed database with faker data
### Run the app
`rails s`
`foreman start`
### Development tools
`binding.pry` to debug
`rubocop` for static-code-analysis
`brakeman` for security vulnerability checks.
`bundler-audit` for Bundler security verification
via browser with Rails debugger
### Run tests
`rspec` to run full test suite
`guard` for autotests live in development