Rails application that features a web-based scheduling/admin system.
This project uses Docker to run. You should install Docker & Docker-compose.
How to install Docker-compose.
- Build docker image
docker-compose -f development.yml build
- Start project
docker-compose -f development.yml up
You can acccess to your started project in localhost:3000.
With the project running, you can run all test with the next 2 commands
docker exec -it shiftmanager_rails bash
bundle exec rspec
Note: deployment for this app was removed since fly.io consumes resources ($$). I might add a Heroku free deploy later.
Pending items for a future version:
- Allow user to add notes (forgot to do this when adding the bonus features and i've only added the "acknowledge" feature). Notes exists but are only available for schedulers.
- Add sorting to both /admin/users and /shifts.
- Add filtering to both /admin/users and /shifts.
- Add pagination to both /admin/users and /shifts.
- Add more integration specs.
- Add feature tests using selenium.
- Add the ability to create/modify roles along with permissions (now its hardcoded in the seeds).
- Add shared contexts to specs to improve readability.
- Handle strings in views as translations with i18n.
- Add rubocop or any other code linter.