mentorship-android
mentorship-android copied to clipboard
Create documentation to explain how to use server running locally when testing Android app
Description
As an app developer, I need to have a backend server up and running, so that I can test the Android app, for fetching data.
So there can be times when the server is down, but you can still test the Android app, if you run a server locally within the same IP network that your device is using.
We need a document, can be a markdown file (e.g.: gist on GitHub, or a markdown file you put on a docs folder in the repository, ...), describing how you can do this, to help contributors test the app, when the server is down.
Acceptance Criteria
Update [Required]
- [ ] Create a document that explains how to test the app using a server hosted on the developer's machine locally.
Definition of Done
- [ ] All of the required items are completed.
- [x] Approval by 1 mentor.
Estimation
N/A hours
@isabelcosta because i have done that i can write this in documentation. Can i work on this?
@Prakash-sa go ahead with it :)
@Prakash-sa any updates?
I want contribute.Please assign this issue to me.
I would like to work on this issue. Thank You!!!
I have been assigned another issue, If it's ok with you i would love to work on this also.
Can i be assigned this issue?
@Aditiwebd are you working on this?
Thank you soo much... @sanchi0204
Sry I completed my last PR and forgot about it.I will start this immediately. :smile:
@sanchi0204 In the code I have added the url for localhost and that link is also opening in emulator. Can you please tell me what should i do to know that the app is working or not.
@sanchi0204 In the code I have added the url for localhost and that link is also opening in emulator. Can you please tell me what should i do to know that the app is working or not.
@iofall can you help with this?
@alivabasa you can try creating a new user to verify if it is working.
@iofall In the emulator right?
@iofall In the emulator right?
Yes so right now you can see that we have our app fetching data from the server which is deployed on Heroku. What this issue requires is that you setup a local server and then provide the URL of this local server to the app, so that you can use the local server as backend for your app.
I tried signing up as well as loging in. In both the cases it shows "Please check your internet connection". So is it a glitch or this is what it shows ? @iofall
@alivabasa No, I think you should be able to signup, login won't be possible without creating a user first. Were you able to setup the mentorship-backend server successfully?
Yes.
You can see the server output as well maybe that could help to debug.
Thanks..I will try that.
You mean that the local backend server should resemble with that of server in heroku, right? @iofall
Yes @alivabasa resemble as in, you should have the mentorship-backend server running successfully on your local machine
Thanks, i guess there are some glitches in that part only cuz rest all are working fine...will update you soon :)
@iofall @sanchi0204 Plz review