A Rails web application for managing and notifying customers about unpaid invoices in a construction materials business.
Dlužírna is a professional debt collection system that enables systematic notification of customers about overdue payments. The application provides secure, tokenized access to debt information and automated email notifications.
- Debt Management: Create and track debt records with detailed information
- Email Notifications: Automated notifications to debtors with secure access links
- Anonymous Access: View debt information through masked URLs without registration
- Customer Registration: Optional registration for detailed debt access
- Admin Panel: Complete debt management interface for administrators
- Responsive Design: Bootstrap-based professional interface
- Ruby: 3.2+
- Rails: 7.1+
- Database: PostgreSQL
- Background Jobs: DelayedJob
- Authentication: Devise
- Testing: RSpec
- UI Framework: Bootstrap
- Ruby 3.2 or higher
- PostgreSQL
- Bundler
-
Clone the repository
-
Install dependencies:
bundle install
-
Setup database:
rails db:create rails db:migrate rails db:seed
-
Start the application:
rails server
-
Start background jobs:
bundle exec rake jobs:work
Run the test suite:
rspecRun with coverage:
rspec --format documentationRun linter:
rubocop -AThe application follows Rails conventions with service layer architecture for business logic.
- Tokenized URLs for secure debt access
- Email verification for customer accounts
- Admin-only access controls
- Input validation and sanitization
Proprietary - Construction Materials Business