Skip to content

Implement Fullstack Authentication with JWT and Backend Integration#185

Open
harish-pasupuleti wants to merge 5 commits into
TanmayKalra09:mainfrom
harish-pasupuleti:add-auth-backend
Open

Implement Fullstack Authentication with JWT and Backend Integration#185
harish-pasupuleti wants to merge 5 commits into
TanmayKalra09:mainfrom
harish-pasupuleti:add-auth-backend

Conversation

@harish-pasupuleti
Copy link
Copy Markdown

📋 Description
This PR implements a full authentication and backend integration for the application.

✅ Backend Enhancements:

Created a new backend/ folder containing:

auth routes with Sign In / Sign Up using JWT authentication

goals and transactions routes connected to MongoDB

Added .env file with environment variables:

MONGODB_URL=<Your MongoDB connection string>
JWT_SECRET=<Your JWT secret key>
Frontend_URL=http://localhost:5173

✅ Frontend Enhancements:

Added AuthModal component for a Sign In / Sign Up dialog box.

Updated TransactionContext to fetch data from the backend instead of local mock data.

Integrated JWT authentication — token is stored securely and attached in headers for API requests.

Improved API structure to handle user-specific data for goals and transactions.

Fixes # (Complete backend & frontend integration with authentication system)

@vercel
Copy link
Copy Markdown

vercel Bot commented Jul 31, 2025

@harish-pasupuleti is attempting to deploy a commit to the Tanmay Kalra's projects Team on Vercel.

A member of the Team first needs to authorize it.

@TanmayKalra09
Copy link
Copy Markdown
Owner

Please resolve the conflicts.

@harish-pasupuleti
Copy link
Copy Markdown
Author

Pushed the updated code — ready for review and deployment.

@vercel
Copy link
Copy Markdown

vercel Bot commented Aug 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
smart-log ❌ Failed (Inspect) Aug 7, 2025 8:37pm

@TanmayKalra09
Copy link
Copy Markdown
Owner

Please resolve the errors
Screenshot 2025-08-02 at 2 37 29 AM

@harish-pasupuleti
Copy link
Copy Markdown
Author

Is backend deployed successfully or not

@harish-pasupuleti
Copy link
Copy Markdown
Author

please check this i have solved the errors

@harish-pasupuleti
Copy link
Copy Markdown
Author

harish-pasupuleti commented Aug 7, 2025

Hello I have done all the backend functionality as well as frontend login with adaptive ui but not merged may i know the reason

@TanmayKalra09
Copy link
Copy Markdown
Owner

@harish-pasupuleti Thank you for your hard work, please review the Vercel deployment errors and push the necessary fixes so we can proceed with the merge.

@harish-pasupuleti
Copy link
Copy Markdown
Author

i am unable to find errors could explain which errors are coming

is backend deployed successful if yes then send me backend deployed url or give vercel permision
MONGODB_URL="" # Your MongoDB connection
JWT_SECRET= # Your JWT secret key
Frontend_URL= # URL of your frontend application, e.g., http://localhost:5173

in backend environment variable is give or not

@harish-pasupuleti
Copy link
Copy Markdown
Author

harish-pasupuleti commented Aug 9, 2025

Hello Can you where the errors is coming backend or frontend

@TanmayKalra09
Copy link
Copy Markdown
Owner

Hello Can you where the errors is coming backend or frontend

Please contact @Tanziha-Sheikh, she will guide you.

@harish-pasupuleti
Copy link
Copy Markdown
Author

@Tanziha-Sheikh
Hi, could we connect on LinkedIn to coordinate and resolve this issue?
www.linkedin.com/in/harish-pasupuleti

This problem has been pending for over a week. I’ve completed all backend work including:

MongoDB integration

JWT authentication and verification

Adaptive frontend for login

I’d like to discuss the remaining issues so we can proceed with deployment and merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants