JSON Middleware for User Auth
Budget: $8 – $15 USD
I need a lightweight middleware layer that speaks pure JSON and sits between my front-end and an internal user database to handle authentication and authorization. The flow is straightforward: the client sends JSON credentials, the middleware validates them against our own SQL/NoSQL store (I can adapt to whichever you prefer), then replies with a signed token or a clean permission set—again in JSON.
Key points you should be comfortable with
• Secure login and role checks driven only by our internal user records; we are not using Google, Facebook, LDAP or Active Directory in this phase.
• Stateless interaction—JWT or a similar token mechanism is ideal.
• Clear error handling so the front-end always receives predictable JSON responses.
• Clean, commented code that I can drop into an existing Node.js or Python microservice stack, plus a short README.
Deliverables
1. Source code for the middleware with installation notes
2. Sample database seed and schema (or collection definitions)
3. Postman/Insomnia collection or curl examples that cover every endpoint
4. Brief security checklist confirming input validation, hashing, and token expiry
I will test by pointing the middleware at our staging user database and running the sample requests. If every route responds correctly and tokens validate as expected, the job is complete.
Key points you should be comfortable with
• Secure login and role checks driven only by our internal user records; we are not using Google, Facebook, LDAP or Active Directory in this phase.
• Stateless interaction—JWT or a similar token mechanism is ideal.
• Clear error handling so the front-end always receives predictable JSON responses.
• Clean, commented code that I can drop into an existing Node.js or Python microservice stack, plus a short README.
Deliverables
1. Source code for the middleware with installation notes
2. Sample database seed and schema (or collection definitions)
3. Postman/Insomnia collection or curl examples that cover every endpoint
4. Brief security checklist confirming input validation, hashing, and token expiry
I will test by pointing the middleware at our staging user database and running the sample requests. If every route responds correctly and tokens validate as expected, the job is complete.