- Full functionality of authentication system like email confirmation and so on (thanks Devise gem)
- User Roles
- Company owner can create companies, affiliates (for that company), and clients (which are customer for concrete company)
- Any client can become high-grade user; if such user exists (in other company) they merge
- Courses with dynamic fields
- Tariffs
- Subscriptions
- Elastic Search or Sphinx
/companies
- list of companies of current user/companies/1/affiliates
- list of affiliates each of which belongs to company with id 1/companies/1/clients
- similar to route above but for clients
- Postgres
- MySQL (at risk of being unsupported)