Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document API resources #123

Open
1 of 10 tasks
motosharpley opened this issue Feb 17, 2018 · 15 comments
Open
1 of 10 tasks

document API resources #123

motosharpley opened this issue Feb 17, 2018 · 15 comments
Assignees
Labels
backend good first issue Good for newcomers help wanted Extra attention is needed wiki/documentation
Milestone

Comments

@motosharpley
Copy link
Collaborator

motosharpley commented Feb 17, 2018

Create an API document identifying all the currently available endpoints and the elements within each endpoint.
List of tasks to include in issue description

  • Include apidocs tool dependencies in Navi (admin)
  • Develop guidelines that contributors should use while documenting their coded APIs
  • Update each of the code blocks in controllers directory to comply with guidelines mentioned above. On a closer review that is the one directory that is relevant for this task as the files in routes directory uses the APIs defined in the controllers directory. However if there are any additional files that are providing APIs they need to be included here.
    • google-api-controllers.js
    • saved-directions-controllers.js
    • saved-pins-controller.js
    • search-history-controllers.js
    • users-contoller.js
    • utils-controller.js
  • Update contributing guidelines doc to ensure all programmers follow the guidelines before introducing new API code
@motosharpley motosharpley added help wanted Extra attention is needed good first issue Good for newcomers backend wiki/documentation labels Feb 17, 2018
@jkwening jkwening added this to the Go-live milestone Feb 26, 2018
@tanyagupta
Copy link
Contributor

@sonalikatara Can I help you with this ?

@thesparrow
Copy link

thesparrow commented Mar 29, 2018

Is this still open? @motosharpley I'd like to get my feet wet with the project. Thanks!

@motosharpley motosharpley mentioned this issue Mar 30, 2018
@motosharpley
Copy link
Collaborator Author

motosharpley commented Mar 30, 2018

@thesparrow please coordinate with @tanyagupta she has started on this however there is more to do if you would like to help.
Also your team invite is still pending, once you accept that I can assign issues to you.
Thanks

@tanyagupta
Copy link
Contributor

@thesparrow @sonalikatara we will be implementing apidocs to capture documentation. I plan to update the issue description with a detailed task list soon. Look forward to working with both of you on that

@tanyagupta
Copy link
Contributor

tanyagupta commented Mar 30, 2018

List of tasks to include in issue description

  • Include apidocs tool dependencies in Navi (admin)
  • Develop guidelines that contributors should use while documenting their coded APIs
  • Update each of the code blocks in controllers directory to comply with guidelines mentioned above. On a closer review that is the one directory that is relevant for this task as the files in routes directory uses the APIs defined in the controllers directory. However if there are any additional files that are providing APIs they need to be included here.
    • google-api-controllers.js
    • saved-directions-controllers.js
    • saved-pins-controller.js
    • search-history-controllers.js
    • users-contoller.js
    • utils-controller.js
  • Update contributing guidelines doc to ensure all programmers follow the guidelines before introducing new API code

I am marking the one I am interested in (guidelines). Please feel free to choose the ones you want

@motosharpley please advice if you want to break this up into issues and keep it here. If we keep it here, could you amend the issue description using the above

@thesparrow
Copy link

Thanks for the reply - I can do the first bulletin - it seems like the rest of the bulletins are tied to the second stage? Or is that a wrong assumption? @motosharpley @tanyagupta Also I'm not sure - do I need to tag you in the posts - or is this seen by people already making comments on the thread? thanks

@tanyagupta
Copy link
Contributor

@thesparrow we would need an admin for the first if I am not mistaken. Let me get the guidelines out as soon as I can (the second one) and that should free up the rest of the bullets. All subscribed folks will automatically get copied on this thread. It looks like @motosharpley @sonalikatara @jkwening and us :)

@thesparrow
Copy link

Ok! Sounds good! I'll be scoping out the code in the meantime - let me know.

@motosharpley
Copy link
Collaborator Author

We can use this as a master ticket and reference other smaller issues that need more description and are able to be completed in isolation.
I will have to to look at apidocs again but I would assume issue 1 would just be a matter of adding devDependencies to the package.json
Also since multiple people are working on this lets submit PR's to the api-docs feature branch

@tanyagupta
Copy link
Contributor

tanyagupta commented Mar 30, 2018 via email

@tanyagupta
Copy link
Contributor

@thesparrow and @sonalikatara wanted to check in and see if you saw the instructions and have any questions. I am posting the link here =>
https://github.com/TheDevPath/Navi/blob/api-docs/docs/API_instructions.md
Essentially api-docs helps the automation of documents and the attached describes the kind of changes that need to be made to the files. The list of the files are in the task list above.
I will work on it further but the essentials of what needs to be done are there. We won't be opening new issues so you can pick any one and post a comment so we all know
Please let me know if you have any questions.
Thanks :)

@sonalikatara
Copy link
Contributor

sonalikatara commented Mar 31, 2018 via email

@sonalikatara
Copy link
Contributor

@tanyagupta , the api documentation is already there in all the controllers, do I need to check it or am i missing something.

regarding the item : Update contributing guidelines doc to ensure all programmers follow the guidelines before introducing new API code
Isn't this https://github.com/TheDevPath/Navi/blob/api-docs/docs/API_instructions.md
Please suggest how I can start .

@tanyagupta
Copy link
Contributor

@sonalikatara those are really good questions. Let me update my post so that those answers are there for others to review as well.

@tanyagupta
Copy link
Contributor

@sonalikatara @thesparrow please see updated instructions and feel free to take up any of the above issues, hopefully this provides more guidance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend good first issue Good for newcomers help wanted Extra attention is needed wiki/documentation
Projects
None yet
Development

No branches or pull requests

5 participants