I am developing mobile apps(IOS), I have read couchDB documentation to access it using HTTP Api, But
1.how do I implement user sign up,user sign in,email verification? just like parse.com is doing.
My plan is to create a database with users and each document would be having username, password, first name, last name, isemailverified, some user preferences with some more key- values.
The is the challenge I face:
2.In case someone queries on UserDatabase, and if the query is a query not related to the current user, I should reject the query. To overcome this challenge I need to write server-side code with pre-post query validation methods. Where should I deploy or start writing this code?
Please feedback on the way my strategy is and where do I need to improve this?
I will be interacting with my backend using restful interface.