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 - Edit
.env
file:- Set BASE_URL from ngrok
- Set CLIENT_ID from the App settings
- Set CLIENT_SECRET from the App settings
- Run
npm run start
- Open app landing (url from ngrok, like https://--------.ngrok.io)
- Configure web-plugin — set iframe url in App settings
- Explore it
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