Yashasv-Prajapati / Docify

5 stars 2 forks source link

Create middleware.ts #87

Closed Karanraj06 closed 3 months ago

linear[bot] commented 3 months ago
CS3-90 Protect routes

Add **middleware** to check for logged in user and it's credentials, do not allow user to go to any page other than Home Page and Login Page. check for access token from cookie