Module 1 – Authentication & Backend Foundation (Node.js + MongoDB) – The Unshakeable App

Job ID: 39983296

Budget: $30 – $250 USD

Project Description

Module 1 of The Unshakeable App is nearly complete—we just need a strong Node.js developer to finalize the backend foundation and confirm that everything works cleanly with the existing React Native frontend.

This milestone includes the following core tasks:

Core Deliverables

• Finalize and secure the full JWT authentication flow (register, login, refresh, logout).
• Organize and standardize the backend folder/controller structure for long-term scalability.
• Connect MongoDB (via Mongoose) and complete the single required collection for this phase: User data.
• Smoke-test all Auth endpoints against the React Native frontend to ensure:

correct status codes

correct response payloads

successful token handling

no mismatches or breaking issues

What This Module Does NOT Require

No RBAC (role-based access control)

No OAuth

No session-based auth

No extra collections beyond users

JWT is the only authentication layer for this module.

Completion Criteria

When this module is finished, I should be able to:

Register and log in from the mobile app and receive valid access + refresh tokens.

Hit protected routes successfully from both the app and Postman (with proper 200/401 behavior).

Review clean, commented code, following consistent structure and formatting (ESLint/Prettier).

Run the backend on Render with correct environment variables and stable health checks.

Delivery Requirements

• Push all work to the existing GitHub repo
• Open a concise pull request with notes
• Document any environment variables added or changed
• Provide the updated Postman collection for all endpoints
• Pass frontend QA with no auth-related errors

Once the React Native team confirms full functionality, the milestone is complete.