• This project
    • Loading...
  • Sign in

2021-1-capstone-design1 / RIT_Project1

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 1
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • RIT_Project1
  • web
  • src
  • api
  • api-auth.ts
  • 박권수's avatar
    feat. api fix, login container complet · 57810b68
    57810b68 Browse Files
    박권수 authored 2021-08-17 02:42:44 +0900
api-auth.ts 413 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
import { client } from "./client";

export default {
    register : (Data : any) => {
        return client.post('/auth/register', Data);
    },

    registerDoctor : (Data : any) => {
        return client.post('/auth/register/doctor', Data);
    },

    login : (Data : any) => {
        return client.post('/auth/login', Data);
    },

    logout : () => {
        return client.post('/auth/logout');
    },
};