diff options
Diffstat (limited to 'src/constants/index.ts')
-rw-r--r-- | src/constants/index.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/constants/index.ts b/src/constants/index.ts new file mode 100644 index 00000000..0667a187 --- /dev/null +++ b/src/constants/index.ts @@ -0,0 +1,5 @@ +// Backend API constants +export const API_ENDPOINT: string = 'http://127.0.0.1:8000/api/'; +export const LOGIN_ENDPOINT: string = 'http://127.0.0.1:8000/api/login/'; +export const LOGOUT_ENDPOINT: string = 'http://127.0.0.1:8000/api/logout/'; +export const REGISTER_ENDPOINT: string = 'http://127.0.0.1:8000/api/register/'; |