Handy playground for playing with Miro Board API and Web-plugins.
- Run
npm install
- Run
cp .env.example .env
- Run
npm run ngrok
in another terminal - Copy the
https
url: - Edit
.env
file:- Set BASE_URL from ngrok
https://XXXXXXXXXXXX.ngrok.io
- Set CLIENT_ID from the App settings
- Set CLIENT_SECRET from the App settings
- Set BASE_URL from ngrok
- Run
npm run start
- Open app landing (url from ngrok, like
https://XXXXXXXXXXXX.ngrok.io
) - Configure app (you can copy/paste from the Welcome page):
- Web-plugin: save
https://XXXXXXXXXXXX.ngrok.io/static/web-plugin/
- Redirect URLs: add
https://XXXXXXXXXX.ngrok.io/oauth
- Web-plugin: save
- Explore & have fun!
app.js
is the entry point
api.js
contains methods for work with API
db.js
is simple DataBase which works with file database.txt