MLSAKIIT/devblogs-frontend

Add route protection to /create page by checking the token from localstorage/cookies using the /verify route on api

オープン

#15 opened on 2024/10/14

 (1 件のコメント) (0 件のリアクション) (1 人の担当者)JavaScript (20 件のフォーク)auto 404
featurehacktoberfestsecurity

Repository metrics

Stars
 (9 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Implement route protection for the /create page by validating the token stored in local storage/cookies using the /verify API route. Redirect users if not authenticated.

Reference: Route Protection Guide

コントリビューターガイド