Skip to content

toresrise/encryptfi-web

Repository files navigation

Encryptfi logo

Encryptfi (Web)

A simple, transparent, anonymous and secure way to transfer files.

Netlify deploy status GitHub license GitHub repository size Code style is Prettier


Install prerequisites

  1. NodeJS and NPM
  2. Yarn

Setup project

Follow all commands bellow.

Environment

Create .env file in root folder with content.

VITE_API_URL=YOUR_API_URL_HERE
VITE_LOCAL_STORAGE_PREFIX=YOUR_LOCAL_STORAGE_PREFIX_HERE
VITE_LANG_KEY=YOUR_LANG_KEY_HERE
VITE_THEME_KEY=YOUR_THEME_KEY_HERE

Install packages

yarn

Active Husky hooks (if not automatically configured)

yarn husky install

Start

yarn dev

Build

yarn build

Setup JetBrains (IDE)

Configure lint

Go to File > Settings > Languages & Frameworks > JavaScript > Code Quality Tools > ESLint, select Automatic ESLint configuration and check Run eslint --fix on save.

Configure prettier

Go to File > Settings > Languages & Frameworks > JavaScript > Prettier, check On 'Reformat Code' action and check On save.

Lint

Run commands:

Check

yarn lint

Fix

yarn lint:fix

Prettier

Run commands:

Check

yarn prettier

Fix

yarn prettier:fix

Format code

yarn format

Figma (prototype)

See application components in our Figma project.

Community

Our code can be copied and distributed for everybody. If you find a bug or improvement, report an issue, please.

Documentation authors