mentorship-android icon indicating copy to clipboard operation
mentorship-android copied to clipboard

Create documentation to explain how to use server running locally when testing Android app

Open isabelcosta opened this issue 5 years ago • 25 comments

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 avatar Feb 22 '20 22:02 isabelcosta

@isabelcosta because i have done that i can write this in documentation. Can i work on this?

Prakash-sa avatar Feb 23 '20 11:02 Prakash-sa

@Prakash-sa go ahead with it :)

isabelcosta avatar Feb 23 '20 18:02 isabelcosta

@Prakash-sa any updates?

rpattath avatar Aug 23 '20 20:08 rpattath

I want contribute.Please assign this issue to me.

Aditiwebd avatar Sep 01 '20 05:09 Aditiwebd

I would like to work on this issue. Thank You!!!

Tushika25 avatar Sep 02 '20 08:09 Tushika25

I have been assigned another issue, If it's ok with you i would love to work on this also.

Aditiwebd avatar Sep 05 '20 10:09 Aditiwebd

Can i be assigned this issue?

alivabasa avatar Sep 28 '20 18:09 alivabasa

@Aditiwebd are you working on this?

sanchi0204 avatar Sep 29 '20 15:09 sanchi0204

Thank you soo much... @sanchi0204

alivabasa avatar Sep 29 '20 15:09 alivabasa

Sry I completed my last PR and forgot about it.I will start this immediately. :smile:

Aditiwebd avatar Sep 29 '20 16:09 Aditiwebd

@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.

alivabasa avatar Sep 30 '20 16:09 alivabasa

@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?

sanchi0204 avatar Sep 30 '20 16:09 sanchi0204

@alivabasa you can try creating a new user to verify if it is working.

iofall avatar Sep 30 '20 16:09 iofall

@iofall In the emulator right?

alivabasa avatar Sep 30 '20 17:09 alivabasa

@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.

iofall avatar Sep 30 '20 17:09 iofall

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 avatar Sep 30 '20 17:09 alivabasa

@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?

iofall avatar Sep 30 '20 17:09 iofall

Yes.

alivabasa avatar Sep 30 '20 17:09 alivabasa

You can see the server output as well maybe that could help to debug.

iofall avatar Sep 30 '20 17:09 iofall

Thanks..I will try that.

alivabasa avatar Sep 30 '20 17:09 alivabasa

You mean that the local backend server should resemble with that of server in heroku, right? @iofall

alivabasa avatar Sep 30 '20 17:09 alivabasa

Yes @alivabasa resemble as in, you should have the mentorship-backend server running successfully on your local machine

iofall avatar Sep 30 '20 17:09 iofall

Thanks, i guess there are some glitches in that part only cuz rest all are working fine...will update you soon :)

alivabasa avatar Sep 30 '20 18:09 alivabasa

doc5 doc6

alivabasa avatar Sep 30 '20 23:09 alivabasa

@iofall @sanchi0204 Plz review

alivabasa avatar Sep 30 '20 23:09 alivabasa