I want to create new user as employee. I want store data like date of birth, salary, address etc .
These data should go to different table so we can later update and also employee can login into application later.
I would suggest you to create a new collection for that to store the details along with the userId
Yes I have created an employee collection.. now I want to login as user with employee credentials. Is it possible?
You can't do that You'll still need to use Appwrite built-in Auth, But, anytime you load a logged-in user you'll load is matched document in the employee collection.
Recommended threads
- Can Sites deployments be limited to the ...
Hey all! I’m using Appwrite Cloud Sites with GitHub connected. Right now, Appwrite seems to build for every push and PR, not just for my production branch (main...
- [Sites] pnpm Turborepo monorepo — stuck ...
deployment seems to never finish. Testing Appwrite Sites with a standard pnpm Turborepo monorepo (npx create-turbo@latest). Repo: https://github.com/saitrogen/...
- Getting this error when creating a websi...
when I visit the site I get 404, even if the deployment is successfull