Skip to content

Latest commit

 

History

History
56 lines (39 loc) · 1.57 KB

README.md

File metadata and controls

56 lines (39 loc) · 1.57 KB

Banking System Using Homomorphic Encryption (API)

This is a project which demonstrates Homomorphic Encryption using Paillier Encryption.

The Front End for this project can be found at Banking System Front.

Technologies Used

  1. Yarn
  2. Node v14.16.0
  3. PostgreSQL v13.1
  4. TypeScript
  5. TypeORM
  6. Docker
  7. Heroku

Setting Up the Project Locally

  • Open the project and fire up the terminal and then enter the following command.

    yarn run clean-install
    
  • Create a .env file in the project and add the following details

    PORT = 8000
    URI = POSTGRES_DB_URL
    JWT_SECRET = SECRET_KEY
    SALT_ROUNDS_PASSWORD = 12
    PADDING_FOR_PRIVATEKEY_LEFT = PADDING_RANDOM
    PADDING_FOR_PRIVATEKEY_RIGHT = PADDING_RANDOM
    SECRET_PROP = accountNumber

Taking Advantage of Linting

  • Open VSCode Editor or WebStorm and set up the following extensions.

Starting the Local Server

  • Open the terminal and enter the following command

    yarn start
    

Author

Note

This project uses a remote PSQL database which is hosted on Heroku.