Created
June 27, 2021 17:32
-
-
Save sawyerh/7f56d4192f06d05977ebc43f01c7fad0 to your computer and use it in GitHub Desktop.
Routes.js: Routing using state machines
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
// routes.js | |
export const routes = { | |
apply: { | |
documents: "/apply/upload-docs", | |
household: "/apply/household", | |
income: "/apply/income", | |
name: "/apply/name", | |
review: "/apply/review", | |
success: "/apply/success" | |
}, | |
auth: { | |
create: "/auth/create-account", | |
login: "/auth/login", | |
reset: "/auth/reset-password" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment