![Screenshot of boilerplate] (/public/images/boilerplate-screenshot.png)
- webpack-hot-reload-module - Your changes are reflected instantly
- webpack support for both client and serverside es6 and beyond
- Dockerfile for simple and powerful deployment and scaling
- Database agnostic
- Custom UI components built for creating good user experiences in Wix.
- Default styles for Settings and Dashboard
- Wix middleware that will parse wix instance into req.wix
- And more!
npm install
npm start
Then go to localhost:3000/settings and localhost:3000/widget
- Create a new wix app at dev.wix.com.
- Add a widget component
- Fill in the form, with localhost:3000/widget and localhost:3000/settings as the endpoints. Mobile is the same.
- Add your WIX_SECRET environment variable to credentials-dev.sh
- Restart the server and test.
Static caching is enabled in server/server-production.js. This replaces web servers(nginx, apache) when scaling for most apps.
Scaling is achieved horizontally by running more containers. We deploy on docker-cloud(cloud.docker.com).
All routes are stored in server/router.js. Add custom code here.
MIT. Use this for whatever you like. If you do something cool send me an email, I want to see it.
- Martyn Garcia (martyn@255bits.com)
- Mikkel Garcia (mikkel@255bits.com)
- The Wix team (wix.com)