Skip to main content

CipherSafe

Security-focused backend API

CipherSafe

A password management API built with Node.js, Express, Mongoose, and MongoDB. The project focuses on secure credential storage, account workflows, password reset flows, and authenticated password retrieval.

Product goal

Build a secure API surface for password storage and access

CipherSafe demonstrates backend fundamentals for sensitive-data applications: authentication, authorization, encrypted storage, password recovery, and clear API contracts.

Account security

Registration, login, logout, password updates, and reset-token flows support the user lifecycle.

Password vault APIs

Users can add, update, delete, decrypt, and retrieve password entries through protected API routes.

Backend clarity

The API is structured around predictable REST operations and tested with Postman collections.

Node.jsExpressMongooseMongoDBPostmanAuthentication

API surface

Key routes

Auth

POST /api/auth/register

POST /api/auth/login

GET /api/auth/logout

User

GET /api/user/

PUT /api/user/update-password

DELETE /api/user/delete

Vault

POST /api/user/password/add

PUT /api/user/password/update/:id

GET /api/user/password/decrypt/:id