Skip to content

LinkenZone/Client

Repository files navigation

#Cách thay bằng API thật (tham khảo)

Trong api.js, thay các dòng TODO:

authService.login:

return await http('/auth/login', { method: 'POST', body: { username, password } });

authService.register:

return await http('/auth/register', { method: 'POST', body: { username, password } });

lessonService.getRecentLessons:

return await http(/users/${user.id}/recent-lessons);

lessonService.markRecent:

return await http(/users/${user.id}/recent-lessons, { method: 'POST', body: { lessonId: lesson.id } });

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages