Real world project example. Developed while completing RoR development guide.
- [✓] Post -> date:date, rationale:text
- [✓] User -> Devise
- [✓] Admin -> STI
- [✓] Auditlog - keep track of if a employee had overtime or not.
- [✓] Approval worflow
- [✓] SMS Messages -> link to approval logtime (TODO: inegrate with Heroku scheduler and uncomment the code)
- [✓] Admin dashboard
- [✓] Email summary to managers for approval
- [✓] Needs to be documented if employee did not log overtime
Back end:
- [✓] FactoryBot
- [✓] Devise
- [✓] Administrate
- [✓] Twilio - sms
- [✓] Dotenv
- [✓] Capybara
- [✓] Pundit
- [✓] Kaminari
Front end:
- [✓] UIKit
- [✓] FontAwesome
- [✓] jQuery
Start server:
rails server
Start coffee-script watcher (webpacker coffee loader is broken):
coffee -c -b -M -w ./
Node requirements: v16. For >v16 (due webpacker bugs):
export NODE_OPTIONS=--openssl-legacy-provider
- Refactor user association integration test in post_spec
- Refactor nav view
- Add user friendly error views
- Refactor table views to use universal helpers
./.env
TWILIO_ACCOUNT_SID=YOURACCOUNTSID
TWILIO_AUTH_TOKEN=YOURAUTHTOKEN
TWILIO_PHONE_NUMBER=+11111111111