SvelteKit app that showcases how to implement email OTP authentication using Appwrite.
Clone the project to your local system and install all dependencies
git clone https://github.com/adityaoberai/appwrite-email-otp-demo.git
cd appwrite-email-otp-demo
npm install
Once that is done, update the file .env.example
to .env
and add the Appwrite API endpoint and project ID.
PUBLIC_APPWRITE_ENDPOINT=
PUBLIC_APPWRITE_PROJECT_ID=
Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run dev