Implement backend authentication and user management with JWT#21
Open
Haris-Rindh wants to merge 7 commits into
Open
Implement backend authentication and user management with JWT#21Haris-Rindh wants to merge 7 commits into
Haris-Rindh wants to merge 7 commits into
Conversation
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.)
|
@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.
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.