Skip to content

peterdee/exchange-web

Repository files navigation

exchange-web

EXCHANGE allows users to share files using browser on their devices

Shared files can be protected with a password

Stack: Vue, Socket.IO, Typescript, common-styles

Demo: https://exchange.dyum.in

Backend project is available here: https://github.com/peterdee/exchange-backend

Deploy

Node v22 is required

Clone repository and install dependencies

cd ./exchange-web
nvm use 22
npm ci

Create a certificates directory in the project root

mkdir certificates && cd certificates

Generate certificate files for HTTPS

MacOS / Ubuntu / Windows

# Generate key file
openssl genrsa -out key.pem 2048

# Generate CSR
openssl req -new -sha256 -key key.pem -out csr.csr

# Generate certificate
openssl req -x509 -sha256 -days 365 -key key.pem -in csr.csr -out cert.pem

HTTPS is required for the SubtleCrypto interface that works only in secure contexts

More details about certificate generating can be found here

Environment variables

The .env file is required, see .env.example for details

Launch

npm run dev

Local WEB application will be available at https://localhost:3000

Vercel deployment

release branch is automatically deployed to Vercel

License

MIT

About

WEB application for Exchange project

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages