This is a new pull request as a replacement of my old pull request that suffered from merge conflicts.
This is a refactor of the Appwrite's Authentication example using newer technologies like Vite, TypeScript and demonstrating useful use cases like auth-based routing.
Test Plan
I tested this code locally with a Docker image of Appwrite.
What does this PR do?
This is a new pull request as a replacement of my old pull request that suffered from merge conflicts.
This is a refactor of the Appwrite's Authentication example using newer technologies like Vite, TypeScript and demonstrating useful use cases like auth-based routing.
Test Plan
I tested this code locally with a Docker image of Appwrite.
Related PRs and Issues
https://github.com/appwrite/demos-for-react/pull/19
Have you read the Contributing Guidelines on issues?
Yes I did read the Contributing Guidelines.