docs: update README to include environment variable setup instructions

This commit is contained in:
Ardeman 2025-02-27 23:54:53 +08:00
parent 7db38d3b67
commit e546ebd3dd

View File

@ -15,6 +15,15 @@ To install pnpm, run:
npm install -g pnpm@9.15.4
```
### Setup Environtment
You'll need to set the following environment variables to connect to your backend:
```bash
VITE_API_URL: The domain or IP address of your backend server (e.g., http://localhost:3000, http://127.0.0.1:8080, or the actual backend server URL).
VITE_SALT_KEY: The salt key that used for hashing the secret variable.
```
### Installation
Install the dependencies: