Last active
August 22, 2022 02:01
-
-
Save happyharis/e9f9dca5d974ffa81dcc76f322d96f97 to your computer and use it in GitHub Desktop.
PCMOB6 constants.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// API | |
export const API = "https://pcmob6-blog-api.<username>.repl.co"; | |
export const API_LOGIN = "/auth"; | |
export const API_SIGNUP = "/newuser"; | |
export const API_POSTS = "/posts"; | |
export const API_WHOAMI = "/whoami"; | |
export const API_CREATE = "/create"; | |
// Screen names | |
export const AUTH_SCREEN = "AUTH_SCREEN" | |
export const PROFILE_SCREEN = "PROFILE_SCREEN" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment