Services

Apart from the two services we have just mentioned, we have five more services:

  • AuthService: The path for this service is: client\app\services\auth.service.ts.  This service defines four methods:   getCurrentUser login logout,  and  setCurrentUser.
  • UserService:  The path for this service is client\app\services\user.service.ts. This service defines seven methods:  register, login, getUsers, countUsers, getUser, editUser, and deleteUser.
  • ThreadServiceThe path for this service is client\app\services\thread.service.ts. This service defines six methods:  getThreads, countThreads, addThread, getThread, editThread, and deleteThread.
  • MessageServiceThe path for this service is client\app\services\message.service.ts. This service ...

Get Google Cloud AI Services Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.