lisbom-dev/js-school-backend

Implement authentication routes

Closed this issue · 0 comments

Description

  • the frontend must authenticate with backend using the @adonisjs/auth library and jwt tokens, so, implement the authentication routes to frontend integrate with

Prerequisites

  • create a login route
  • create a logout route

Additional Info

  • set the token expires for 7 days (like samara) like here