From 93cf15014f26adb8db31f618338ec9d73043d591 Mon Sep 17 00:00:00 2001 From: Preetinder Singh Date: Tue, 18 Jun 2024 14:34:24 +0530 Subject: [PATCH] Jwt token and register added in auth --- backend/go-templates/view.html | 2 +- backend/go.mod | 1 + backend/go.sum | 2 + backend/main.go | 6 +- backend/pkg/auth/auth.go | 105 +++++++++++++++++++ frontend/src/Maincontent.jsx | 2 +- frontend/yarn.lock | 183 +++++---------------------------- 7 files changed, 139 insertions(+), 162 deletions(-) create mode 100644 backend/pkg/auth/auth.go diff --git a/backend/go-templates/view.html b/backend/go-templates/view.html index db38aac7..e4f14921 100644 --- a/backend/go-templates/view.html +++ b/backend/go-templates/view.html @@ -42,7 +42,7 @@

All Links