
Open
Posted
•
Ends in 6 days
Paid on delivery
I need a compact REST API built with Node.js and [login to view URL] that handles user authentication cleanly and securely. The signup route should accept only email and password, hash the password with bcrypt, save the user, and immediately return a JWT. A separate login route must verify the credentials and issue a fresh token. After authentication, 2–3 sample protected endpoints should demonstrate token verification. They can be anything generic—think “/profile” or “/dashboard”—as long as access is blocked when the JWT is missing or invalid. I do not require role-based access control; straightforward token-based gating is enough. Code quality matters more than bells and whistles. I’d like to see: • Modular structure (routes, controllers, services, middleware) • Joi or a similar library for basic request validation • Clear error handling with consistent JSON responses • Environment-driven secrets (.env) and a concise README explaining setup, env variables, and how to run tests or sample calls (cURL/Postman collection) Feel free to choose a lightweight database or even an in-memory store—persistence is not the focus here; demonstrating secure auth flow is. Deliver the complete source (Git repository or zipped project) ready to npm install && npm start. If this sounds straightforward to you, let me know your estimated turnaround time and any clarifying questions.
Project ID: 40406979
Open for bidding
Remote project
Active 56 yrs ago
Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

Bengaluru, India
Payment method verified
Member since Mar 11, 2025
$30-250 USD
$250-750 USD
$250-750 USD
£250-750 GBP
$30-250 USD
$30-50 USD
₹600-1500 INR
₹12500-37500 INR
$250-750 USD
₹500000-500001 INR
$1500-3000 USD
€8-30 EUR
₹600-1500 INR
₹600-1500 INR
$1500-3000 USD
$200-600 USD
$30-250 USD
$1500-3000 USD
$250-750 USD
$30-250 USD