Skip to content

alizas1/sample-wix-rest-app

 
 

Repository files navigation

Wix App - oAuth & REST API Demo Application

Overview

This boilerplate will make it easy for you to start developing your Wix app. This is a sample Wix application that uses oAuth and REST APIs. Clone/download the project, configure your application, run & have fun!

Quick start

  1. Create an Application in Wix Developers
  2. Clone this repo
    git clone [email protected]:shaykewix/sample-wix-rest-app.git
  3. Update your application data:
    A. In the config.js:
    - Update APP_ID with your application ID
    ******* - Update PUBLIC_KEY with your your public key
    B. In the credentials.js:
    - Update APP_SECRET with your application secret key
  4. [Optional] If you are running on a local machine and/or don't have a local https certificate, run ngrok to get https proxy to your server:
    ngrok http 3000
  5. In Wix Developers, update your application with the oAuth data:
    • Configure "Redirect URL" (for example: https://[Your ngrok identity].ngrok.io/login )
    • Configure "App URL" (for example: https://[Your ngrok identity].ngrok.io/signup )
  6. Run your server
    npm install
    npm build
    npm start

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.8%
  • TypeScript 5.2%