I will build a secure rest API with jwt auth and full tests


About this gig
Need a working API without a 3-week agency project?
I will build you a production-ready REST API: authentication, a real database, an automated test suite, and documentation you can hand to a developer or an AI tool without explaining anything.
Every package includes:
- JWT auth with refresh token rotation
- Passwords hashed with scrypt, never stored plain
- Input validation on every endpoint
- Rate limiting on the login route
- Clean JSON errors with no internals leaked
THE TESTS ARE THE PROOF. You do not take my word for it, you run them:
npm test
The reference build ships 98 automated tests hitting a real database over real HTTP, not mocks. They cover auth, token expiry, stolen token reuse, cross-user data isolation, SQL injection attempts and cascading deletes.
It will not break on your machine: 6 runtime dependencies, none compile anything. Crypto and the database come from Node itself. No node-gyp, no compiler, no cryptic binding errors.
Stack: Node.js, Express 5, TypeScript, SQLite or your PostgreSQL.
Message me your requirements and I will reply with a plan.
Get to know Krisakorn U
Backend API Develope
- FromThailand
- Member sinceOct 2026
Languages
Thai
My Portfolio
FAQ
Q: Do I own the code?
Yes. Full ownership and all rights transfer to you on delivery, including the Git history.
Q: Can you use my existing database?
Yes. Send your schema and I will adapt to PostgreSQL, MySQL or MongoDB. The reference build uses SQLite only so you can try it with no setup.
Q: What if I need changes after delivery?
Revisions within the agreed scope are included. New features are quoted separately, and I tell you the cost before starting.
Q: Will it run in production?
Yes. It runs on Node's HTTP server and shuts down gracefully. For real traffic put a reverse proxy in front; deployment guidance is included.
Q: How do we communicate?
English or Thai, by message. One progress update per working day. I send a plan for your approval before I start.

