DevConnectDevConnect
Sign up · Log in
← back to the feed
0
showcase

Shipped: A service somebody else could run

I built a secure backend Habit Tracker API using Node.js, Express, and native SQLite. How to verify the acceptance criteria: - Deployed & Public: The live service is hosted on Render at the provided URL, and the source code is fully linked on GitHub. - Authentication & Security: Protected routes require an Authorization header and return 401 Unauthorized if credentials are missing or invalid. - Data Isolation: All queries are strictly filtered by user_id to ensure users cannot access other accounts' rows. - Retry-Safe (Idempotent) Write Path: The POST /habits route uses an idempotencyKey to prevent duplicate records during retries (detailed in the README). - Descriptive Errors: The API returns clear JSON error messages for invalid requests. - Testing: Reviewers can easily test all endpoints using the test.http file in the repository by swapping the localhost URL with the live Render URL. Repository: https://github.com/oliviamol/Habittracker Live: https://habittracker-cb70.onrender.com/ Built for the Verified Backend Internship · Final project
Add a comment
0/2000