Skip to content

Implement backend authentication and user management with JWT#21

Open
Haris-Rindh wants to merge 7 commits into
Asakusa-k:mainfrom
Haris-Rindh:main
Open

Implement backend authentication and user management with JWT#21
Haris-Rindh wants to merge 7 commits into
Asakusa-k:mainfrom
Haris-Rindh:main

Conversation

@Haris-Rindh
Copy link
Copy Markdown

No description provided.

Implement backend authentication and user management and wire-up frontend auth. Adds a Mongoose User model with entrepreneur/investor discriminators, authController (register/login using bcrypt + JWT), userController (get/update profile), auth middleware (protect/authorize), and auth/user routes. Updates server to mount /api/auth and /api/users routes and starts the app. Frontend AuthContext switched from mock data to real API calls via axios: stores JWT in localStorage ('nexus_token'), fetches current user on load, and updates login/register/logout flows with server responses. (Note: package-lock.json was updated as part of dependency changes.)
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 30, 2026

@Haris-Rindh is attempting to deploy a commit to the Asakusa's projects Team on Vercel.

A member of the Team first needs to authorize it.

Add server and frontend implementations for core collaboration features: meetings, chat, document signing, payments, notifications and collaboration workflows. Introduces many controllers, models and routes (meetings, messages, notifications, collaborations, OTP/2FA), middleware and validation, plus frontend pages/components (MeetingCalendar, VideoCallPage, SignatureModal, chat components, dashboards and profiles). Add .env.example files, update .gitignore, include DEMO_PRESENTATION.md and presentation_outline.md, and add helper scripts (push.js, push.bat). Update package.json/package-lock to include new deps (Zego, socket.io-client, react-signature-canvas) and adjust ESLint rules (disable no-unused-vars and no-explicit-any). Remove obsolete README.md.
Integrate video conferencing, payments, signature capture, calendar and S3 uploads. Added frontend components (SignaturePad, JitsiVideoCall, StripePaymentForm), a useSocket hook, and updates to AuthContext and multiple pages (chat, meetings, payments, profiles, settings). Updated server controllers and routes for documents/payments and added S3 upload support (multer-s3 and @aws-sdk/client-s3). Package dependencies updated to include Jitsi, Stripe, react-big-calendar and server S3 libraries; Vite dependency metadata added.
@Haris-Rindh
Copy link
Copy Markdown
Author

I am excited to submit my final version of the Nexus – Investor & Entrepreneur Collaboration Platform. Over the past 3 weeks, I have successfully transformed the static React frontend into a robust, production-ready, Full-Stack application by integrating a custom-built Express backend, MongoDB database, and implementing all the required core modules outlined in the project specifications.

@Haris-Rindh Haris-Rindh reopened this Apr 14, 2026
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.

1 participant