- Create a
.envfile in the root of the project if it does not exist. - Add your environment variables in the following format:
VITE_BACKEND_URL=<where you started your backend server at>
- All environment variables used in the Vite app must be prefixed with
VITE_. - You can create different files for different environments, e.g.,
.env.development,.env.production.
-
Install dependencies:
npm install # or yarn install -
Start the development server:
npm run dev # or yarn dev -
Open your browser and go to the URL shown in the terminal (usually http://localhost:5173).
This project is licensed under the Apache License - see the LICENSE file for details.
Check the workshop's full project, abstract and other repos at Workshop: "Integrating Open Gateway in your application to shift to a better sign-up experience".