title: Calendar implementation to web app
body: <p>I have a web app (a service with 2 types of users: doctors and patients). The user data is stored in a database. Users are logged in by email and password. </p>
  
  <p>I need to add a possibility for users to have calendars on their personal pages. Every user could manage his own schedule. </p>
  
  <p>Some questions: </p>
  
  <ol>
  <li><p>Generally, what is the best way to do this? Is there any step-by-step guide? </p></li>
  <li><p>If I use google calendar, is there is an opportunity to have one google account for the whole service (like a database of calendars). So user would not need to have his own google account and would have a permission to only change his own calendar based in the service account. I've read some info  <a href="https://developers.google.com/identity/protocols/OAuth2ServiceAccount" rel="nofollow noreferrer" title="this text appears when you mouse over">here</a> but not sure if I got the concept right.  </p></li>
  </ol>