built in requirement for ZOHO recuitment assigment
The API base URL: https://comments-app-api.deta.dev/
The available endpoints:
auth/login
(POST): This would take inemail
andpassword
of the user and validates them.auth/signup
(POST) : This would take inemail
,password
andsecretCode
and creates a new document in the database for the user.auth/forgot-password
(POST) : This would take insecretCode
andemail
and return the password.auth/logout
(POST) : This would changeisLogged
tofalse
.post-comment
(POST) : This would take inemail
and thecomment
and creates a new comment.view-comments
(GET) : This returns all the comments.
(Note: This app requires min API 26/ Android Oreo version to work Properly)
To run this app, Please Download the APK from link below:
Android APK Downlaod
- Comment app is built using Kotlin.
- It is
single activity
based architecture which usesRetrofit
lilbrary for networking andmoshi
for GSON converter. Jetpack navigation
is also used to navigate between fragments.ViewBinding
is used instead of expensivefindviewById
.- encryption and decryption of sensitive info.
Our Backend is fully functional and deployed on a server. The tech stacks we used:
- NodeJS - Runtime environment
- Express - Framework used to build the API
- MongoDB - No SQL database which is used for the storing the Comments and userDetails
- Mongoose - Library which is used to interact with the MongoDB database
- Deta - Platform where the API is been hosted
Video DEMO