Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.06 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.06 KB

PASSWORD MANAGER REST API

Rest API for password manager powering the storing and retrieval of records in a safe manner. User login passwords are hashed using the SHA 256 algorithm and record passwords are encrypted using the AES encryption algorithm so they can retrieved back in human-readable form.

Link to frontend

TECH STACK

  • Golang
  • Docker
  • PostgreSQL
  • JWT
  • GOOSE (Database migrations)

ENDPOINTS

  • Login
  • Register
  • Patch
  • Add Record
  • Delete Record

How it works

Registration endpoint takes a body as JSON of name, email, and password. The password is hashed using the SHA 256 algorithm to ensure safety. Look at the password column.

users table

Upon successfully registration you can login to access your dashboard where you can add and manage records.

Retrieving Records

Records are retrieved based on userId which is a foreign key to the user's table. The records password are encrypted using the AES encryption algorithm.

records table