<h1 align="center">Wix Headless Templates</h1>
> Join the Wix Headless community on [Discord](https://discord.gg/n6TBrSnYTp)! 🚀
Welcome to the Wix Headless Templates repository! This repository contains various templates for building headless websites using Wix and different front-end frameworks.
Wix Headless allows you to leverage Wix's powerful business solutions and APIs to manage content, Wix Bookings, Wix Stores, and more, while using your preferred front-end technology. By decoupling the backend from the frontend, you can create highly customizable and performant websites.
Wix offers a variety of business solutions, including:
- **Content Management System (CMS)**: Manage and organize your website content through an intuitive interface.
- **Wix Bookings**: Handle appointments, classes, and subscriptions with ease.
- **Wix Stores**: Manage products, orders, and inventory for your online store.
- **Wix Events**: Organize and manage events, ticketing, and attendee registration.
- **Wix Members**: Integrate user authentication and management into your website.
The templates in this repository showcase the usage of these business solutions APIs, providing you with ready-to-use examples. They can be used as starting points for new projects or as reference implementations when integrating these features into your own projects.
## Resources
Here are some useful links for getting started with Wix Headless and the available templates:
- [Wix Headless Documentation](https://dev.wix.com/docs/go-headless)
- [Wix SDK Documentation](https://dev.wix.com/docs/sdk)
- [Wix Headless Templates Page](https://www.wix.com/studio/developers/headless/templates)
- [Community on Discord](https://discord.gg/n6TBrSnYTp)
## Templates
<table>
<thead>
<tr>
<th>Template</th>
<th>Description</th>
<th>Live Demo</th>
<th>Wix Apps Used</th>
</tr>
</thead>
<tbody>
<tr>
<td colspan="4" align="center"><strong>Astro</strong></td>
</tr>
<tr>
<td colspan="4" align="center"><a href="./astro/">Getting Started with Wix Astro templates</a></td>
</tr>
<tr>
<td><a href="https://github.com/wix/headless-templates/tree/main/astro/blog">Blog</a></td>
<td>Combines the official Astro Blog template with Wix Headless for seamless content management and high-performance static site using Astro.</td>
<td></td>
<td>Wix Blog</td>
</tr>
<tr>
<td><a href="https://github.com/wix/headless-templates/tree/main/astro/commerce">Commerce</a></td>
<td>A template for creating e-commerce sites using Astro and Wix Headless.</td>
<td></td>
<td>Wix Stores</td>
</tr>
<tr>
<td><a href="https://github.com/wix/headless-templates/tree/main/astro/cms-catalog">CMS</a></td>
<td>A catalog template backed by a Wix CMS (Wix Data) collection using Astro and Wix Headless.</td>
<td></td>
<td>Wix CMS (Wix Data)</td>
</tr>
<tr>
<td><a href="https://github.com/wix/headless-templates/tree/main/astro/events">Events</a></td>
<td>A template for event listings, RSVP, and ticketed registration using Astro and Wix Headless.</td>
<td></td>
<td>Wix Events</td>
</tr>
<tr>
<td><a href="https://github.com/wix/headless-templates/tree/main/astro/rentals">Rentals</a></td>
<td>A template for reserving rental spaces by the hour or day using Astro and Wix Headless.</td>
<td></td>
<td>Wix Rentals</td>
</tr>
<tr>
<td colspan="4" align="center"><strong>Next.js</strong></td>
</tr>
<tr>
<td><a href="https://github.com/wix/headless-templates/tree/main/nextjs/minimal-examples">Minimal Examples</a></td>
<td>Concise examples for Next.js projects integrated with Wix Headless.</td>
<td><a href="https://wix-headless-example.netlify.app">Minimal Examples Demo</a></td>
<td>Wix Stores, Wix Bookings, Wix Events</td>
</tr>
<tr>
<td><a href="https://github.com/wix/headless-templates/tree/main/nextjs/appointments-subscriptions">Appointments Subscriptions</a></td>
<td>A template for managing appointments and subscriptions using Next.js and Wix Headless.</td>
<td><a href="https://netlify.bookings-appointments-demo.wix.dev">Appointments Subscriptions Demo</a></td>
<td>Wix Bookings, Wix Members</td>
</tr>
<tr>
<td><a href="https://github.com/wix/headless-templates/tree/main/nextjs/classes-subscriptions">Classes Subscriptions</a></td>
<td>A template for managing class subscriptions using Next.js and Wix Headless.</td>
<td><a href="https://netlify.bookings-classes-demo.wix.dev">Classes Subscriptions Demo</a></td>
<td>Wix Bookings, Wix Members</td>
</tr>
<tr>
<td><a href="https://github.com/wix/headless-templates/tree/main/nextjs/cms-education">CMS Education</a></td>
<td>Uses Wix Headless to leverage the Wix CMS for managing content on an education site.</td>
<td><a href="https://netlify.cms-demo.wix.dev/">CMS Education Demo</a></td>
<td>CMS</td>
</tr>
<tr>
<td><a href="https://github.com/wix/headless-templates/tree/main/nextjs/commerce-ticketing">Commerce Ticketing</a></td>
<td>A template for an online store and event ticketing using Next.js and Wix Headless.</td>
<td><a href="https://netlify.commerce-ticketing-demo.wix.dev/">Commerce Ticketing Demo</a></td>
<td>Wix Events, Wix Members</td>
</tr>
<tr>
<td><a href="https://github.com/wix/headless-templates/tree/main/nextjs/commerce">Next.js Commerce</a></td>
<td>The <a href="https://github.com/vercel/commerce">Next.js Commerce</a> template with headless integration using Wix.</td>
<td></td>
<td>Wix Stores</td>
</tr>
<tr>
<td><a href="https://github.com/wix/headless-templates/tree/main/nextjs/external-identity-provider">External Identity Provider</a></td>
<td>A template for integrating external identity providers (e.g Github) using Next.js and Wix Headless.</td>
<td></td>
<td>Wix Members</td>
</tr>
<tr>
<td colspan="4" align="center"><strong>React Native (Expo)</strong></td>
</tr>
<tr>
<td><a href="https://github.com/wix/headless-templates/tree/main/react-native/mobile-ecommerce">Mobile E-commerce</a></td>
<td>A template for creating mobile e-commerce applications using React Native and Wix Headless.</td>
<td></td>
<td>Wix Stores, Wix Members</td>
</tr>
</tbody>
</table>