Last active
September 10, 2017 21:45
-
-
Save blogui91/337982c47e2afab85397d21f15d5a8f1 to your computer and use it in GitHub Desktop.
We declare here all our routes for the application
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
import { | |
BASE_TOKEN, | |
API_URL, | |
} from 'config/auth' | |
export default { | |
TOKEN_URL: BASE_TOKEN + 'oauth/token', | |
CURRENT_USER_URL : API_URL + "users/user", | |
endpoints: { | |
USERS_URL: API_URL + "users", | |
POSTS_URL: API_URL + "posts", | |
// resource_url : API_URL + "resource" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment