Skip to content

Instantly share code, notes, and snippets.

@happyharis
Last active August 22, 2022 02:01
Show Gist options
  • Save happyharis/e9f9dca5d974ffa81dcc76f322d96f97 to your computer and use it in GitHub Desktop.
Save happyharis/e9f9dca5d974ffa81dcc76f322d96f97 to your computer and use it in GitHub Desktop.
PCMOB6 constants.js
// 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