Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --openTo create a production version of your app:
npm run buildYou can preview the production build with npm run preview.
To deploy your app, you may need to install an adapter for your target environment.
The V4VAPP API is a RESTful API that provides access to the V4VAPP backend. It is used by the V4VAPP frontend to fetch data and perform actions such as generate deposit invoices.
The API is available at https://api.v4v.app in production and https://devapi.v4v.app in development. The app selects the development API when PUBLIC_V4VAPP_API_MODE is set to dev; otherwise it uses the production API.
To use the development API, set the PUBLIC_V4VAPP_API_MODE environment variable to dev in your .env file:
PUBLIC_V4VAPP_API_MODE=dev