UserRoutes

io.letsstreamit.services.profile.infrastructure.routes.UserRoutes
class UserRoutes(userController: UserController)(implicit system: ActorSystem[_])

UserRoutes responsible for handling user related routes

Value parameters

system

ActorSystem to handle the routes

userController

UserController to interact with the database

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def addVideo(email: String, videoId: String): Future[Either[Exception, String]]
def createUser(user: User): Future[Either[Exception, String]]
def getUser(email: String): Future[Option[User]]
def updateUser(user: User): Future[Either[Exception, String]]

Concrete fields

val routes: Route