DeepAR Web SDK Demo Project
We have a demo project setup on GitHub that lets you test out DeepAR really quickly and it serves as a getting started project.
You can find DeepAR Web Quickstart project on GitHub!
Preview of demo project
You can view this demo project here!
Run demo project locally
- Clone the project:
git clone https://github.com/DeepARSDK/quickstart-web-js-npm.git
- Install DeepAR Web and Webpack with NPM:
npm install
Obtain License key
- On developer portal, go to projects and click
+ New Project
. - Enter the name of your project. For example "My First AR App".
- Choose a FREE plan.
- Under
Web App
choose+ Add App
. - Enter the domain name under which you plan to deploy your app.
⚠️ IMPORTANT ⚠️
You need to enter the DOMAIN NAME, not the URL where your app is running.
For example, if your app is running on
>https://www.domain.com/application/ar
the domain you need to enter iswww.domain.com
.
Be sure to leave out any protocol name (likehttps
) and additional paths (likeapplication/ar
).
- On developer portal, go to projects and click
Copy the generated license key in the
src/index.js
instead of"your_license_key_goes_here"
Run the demo.
npm run dev
If the browser doesn't open automatically, open http://localhost:8888.