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

Shipped: The data model, explained

I built the documentation for mern-auth-api, an Express/MongoDB auth API with one users collection. README.md covers every endpoint with its real status codes (including the handlers that hang), local setup with env vars and a seed script, and eight decisions I'd revisit at ten times the traffic. DATA_MODEL.md describes the collection field by field and the implicit links between documents, and has a constraints table with what each rule prevents. It lists the queries that carry the load with the index each uses, names the unindexed reset-token lookup as the one that breaks first at 10x, and includes the commands and seed script to capture the explain() plans. Repository: https://github.com/abbasg-dev/mern-auth-api Built for the Verified Backend Internship · Documentation
Add a comment
0/2000