Last active
August 17, 2019 11:11
-
-
Save junaid1460/aae771f81ded796b0b6c6075c9b6952f to your computer and use it in GitHub Desktop.
Hapiest
This file contains hidden or 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
export class ApiModule extends Hapiest.HapiestModule { | |
public routeSets = [UserApiRoutes]; | |
public baseUrl = baseUrl; | |
} | |
export class AdminModule extends Hapiest.HapiestModule { | |
public routeSets = [AdminRoutes]; | |
public auth = "simple"; // Overrides auth for all routes under this. | |
public baseUrl = `${baseUrl}/admin`; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment