QR Menu Backend

Technologies and libraries:

  1. Ruby 3.2.0 and Rails 7.0.4 in API-only mode
  2. PostgreSQL as main DB
  3. Redis for storing links hashes
  4. standrdrb for linting. (For RubyMine check this)
  5. rubocop-rails and rubocop-rspec for linting
  6. RSpec for testing
  7. Simplecov for test coverage
  8. Factory Bot Rails for factories
  9. Faker for seeds
  10. Bullet for detecting N+1
  11. Pry and Pry Byebug for debug
  12. Alba for serialization
  13. Dry Validation for validation
  14. TODO: Github actions(Tests, Spellchecker, PR Template, Standard), Docker, etc.

For development

  1. Clone repo
  2. Create user for postgresql
  3. cp config/database.yml.sample config/database.yml
  4. Paste credentials from created user to config/database.yml