An app that allows sending encrypted, password-protected files. Encrypts files on the client side using the Web Crypto API. Then provides a one-time download link that requires a password to download the file.
- Create
config/dev.secret.exsif it doesn't already exist, and add the following:use Mix.Config config :ex_aws, access_key_id: "<YOUR_ACCESS_KEY_ID>", secret_access_key: "<YOUR_SECRET_ACCESS_KEY>", region: "<YOUR_BUCKET_REGION>", s3: [ scheme: "https://", host: "<YOUR_BUCKET_HOST>", region: "<YOUR_BUCKET_REGION>" ]
- Install dependencies with
mix deps.get - Create and migrate your database with
mix ecto.setup - Install Node.js dependencies with
cd assets && npm install - Start Phoenix endpoint with
mix phx.server - Visit
http://localhost:4000