Create an application that allows for the creation and management of schools, courses, batches, and students by various user types including Admin, School Admin, and Student. With different user types and their respective capabilities, the application offers a flexible and secure platform for educational organisations.
- Step 1:
cd apollo && bundle install
- Step 2:
rails db:setup && rails db:migrate && rails db:seed
- Step 3:
rails s
- Super Admin:
superadmin@test.com
pass:apple123
- School Admin:
schooladmin@test.com
pass:apple123
- Student:
student@test.com
pass:apple123
- CanCanCan for authorization
- Devise for authentication
- Bootstrap 5 for views
- RSpec for tests
Following are possible future improvements to the proposed application:
- Add API capability (did not work on due to time constraint)
- Add More tests (limited tests due to time constraint)
- View partials can be optimised
- Nested forms can be handled better
- Domain models can have additional attributes
- Should use enum for roles instead of string
- use more bootstrap components in forms