This is a simple Node.js backend for testing Striga API flows in sandbox mode.
- Copy .env.example to .env and add your Striga sandbox API key.
- Run
npm install. - Run
node server.js. - Open http://localhost:3000 for the dashboard.
- POST /create-user: Create a user (body: {email, phone, etc.})
- POST /send-phone-otp: Send phone OTP (body: {userId})
- ... (see server.js for more)
Responses are documented in code comments and displayed in the dashboard as JSON.
To dockerize, add Dockerfile and run docker build.