24 lines
412 B
Markdown
24 lines
412 B
Markdown
# Listhub Frontend Repository
|
|
|
|
To start developing
|
|
|
|
```bash
|
|
npm install
|
|
```
|
|
|
|
and then
|
|
|
|
```bash
|
|
npm run start
|
|
```
|
|
|
|
|
|
## API configuration
|
|
|
|
The frontend reads the base backend URL from `VITE_API_URL` in `src/config/api.js`.
|
|
|
|
- Default: `/api/v1` (works with the Vite dev proxy)
|
|
- To override it, create a local `.env` file and set `VITE_API_URL` to your backend URL
|
|
|
|
See `.env.example` for a ready-to-copy example.
|