I am developing mobile applications (IOS), I read couchDB documentation to access it using HTTP Api, but
1. How can I implement user registration, user login, email verification? just like parse.com does .
My plan is to create a database with users, and each document will have a username, password, first name, last name, isemailverified, some user settings with several key values.
We are faced with the task:
2. If someone requests in UserDatabase, and if the request is a request that is not related to the current user, I must reject the request. To overcome this problem, I need to write server-side code using validation methods before sending the request. Where should I deploy or start writing this code?
Please pay attention to how my strategy is and where do I need to improve this?
I will interact with my backend using a calm interface.
source
share