Skip to content

Commit

Permalink
feat(mellow-svelte): add routes
Browse files Browse the repository at this point in the history
  • Loading branch information
DominusKelvin committed Sep 22, 2024
1 parent 33a932b commit 1027392
Showing 1 changed file with 35 additions and 3 deletions.
38 changes: 35 additions & 3 deletions templates/mellow-svelte/config/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,39 @@ module.exports.routes = {
* is matched against Sails route blueprints. See `config/blueprints.js` *
* for configuration options and examples. *
* *
***************************************************************************/
'GET /': 'home/index',
'GET /example': 'example/index'
**********************************************/

'GET /': 'home/view-home',

'GET /signup': 'auth/view-signup',
'POST /signup': 'auth/signup',

'GET /check-email': 'auth/view-check-email',
'GET /verify-email': 'auth/verify-email',

'GET /link-expired': 'auth/view-link-expired',
'GET /resend-link': 'auth/resend-link',

'GET /:operation/success': 'auth/view-success',

'GET /login': 'auth/view-login',
'POST /login': 'auth/login',

'GET /forgot-password': 'auth/view-forgot-password',
'POST /forgot-password': 'auth/forgot-password',

'GET /reset-password': 'auth/view-reset-password',
'POST /reset-password': 'auth/reset-password',

'GET /dashboard': 'dashboard/view-dashboard',

'GET /profile': 'user/view-profile',
'PATCH /profile': 'user/update-profile',
'DELETE /profile': 'user/delete-profile',

'DELETE /logout': 'user/logout',

'GET /auth/:provider/redirect': 'auth/redirect',

'GET /auth/:provider/callback': 'auth/callback'
}

0 comments on commit 1027392

Please sign in to comment.