Skip to content

This is an API of a full stack project which implements Partial Homomorphic Encryption using Paillier's Encryption on a banking system.

Notifications You must be signed in to change notification settings

freak2810/Banking-System-API

Repository files navigation

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.

About

This is an API of a full stack project which implements Partial Homomorphic Encryption using Paillier's Encryption on a banking system.

Topics

Resources

Stars

Watchers

Forks