This is a quick example (WIP) for using nexmo beta API for sending custom events.
- Create a nexmo application (get AppId, private.key and public.key)
- Add the necessary environment variables, copy
backend/ENV.EXAMPLE
intobackend/.env
and add the necessary variables
NEXMO_API_KEY=<YOUR NEXMO API KEY>
NEXMO_SECRET=<YOUR NEXMO SECRET>
APPLICATION_ID=<YOUR APPLICATION ID>
- Add at least your
private.key
file inside the/backend
folder - Add dependencies:
cd backend
yarn install
cd ../frontend
yarn install
cd frontend
yarn start
cd backend
yarn dev # or start