Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 693 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 693 Bytes

Appwrite Email OTP Sample App

SvelteKit app that showcases how to implement email OTP authentication using Appwrite.

Setting up the project

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=

Running the app

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev