Skip to content

Repository files navigation

SMS Inter

Simple Next.js website for sending real mobile SMS with Twilio.

Setup

  1. Copy env file and fill in Twilio values:
cp .env.example .env.local
  1. In Twilio Console grab:

    • Account SID
    • Auth Token
    • A Twilio phone number (or verified caller ID on trial)
  2. Install and run:

npm install
npm run dev

Open http://localhost:3000.

Trial accounts

Twilio trial accounts can only send to verified phone numbers. Verify your mobile under Phone Numbers → Verified Caller IDs.

API

POST /api/send-sms

{
  "to": "+255712345678",
  "message": "Hello from SMS Inter"
}

About

Next.js app for Tanzania mobile login via SMS OTP. Choose Notify Africa or NextSMS, send a one-time code to a phone number, then verify it to authenticate.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages