###Overview
This boilerplate will make it easy for you to start developing your Wix app. The project is already set up with a widget component and its App settings panel.
Most apps have a server side, but to keep it simple, we’ll focus only on the client side.
###Features
- Uses the official Wix UI-lib and UI controls
- Demo implementation of the app’s interaction with its settings panel
- Option to use plain CSS (we use SASS by default)
- Updated with the latest version of Wix SDK
###Getting started Before you start - get node.js
Generate the app:
- Clone our starter template
git clone [email protected]:wix/tpa-demo-app-react-jsx.git
- Navigate to your project folder
cd tpa-demo-app-react-jsx/
- Install npm
npm install
- Run webpack
Webpack
- Run the app
npm start
This will run a webserver on your local host. You can now view your app in your browser: http://localhost:3000/
###Registering the App
- Follow the registration guide to create a new app.
- Add a Widget endpoint:
- Endpoint URL with the following URL:http://localhost:3000/index.html
- Set the width to 300px and height to 400px.
- Set the App Setting URL to:
- http://localhost:3000/settings.html
- Set the height (up to 578px).
- Save your app.
###License Copyright (c) 2014 Wix.com
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.