Hi guys. I want to do an application with javascript (node.js with express.js and vue.js). Basically this application gets the repo from Bitbucket and shows the scaffolding of project and then I select some files for upload at another server. That's all.
I stayed reading documentation from some places and I don't understand how can I start to develop with javascript.
So, I need a guide or explanation how can I start to it.
Regards
Hi,
Here is some documentation on the Javascript Fetch API:
https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
Here is the Bitbucket API documentation for fetching repositories:
Here is an example of an API call to a public repository:
Oh thank so very much!
And the last question.
I need to access to some private endpoints so I need to get any credential or get login.
For example. Is there any way to login with the user account of bitbucket and use this credentials in the app?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here is some documentation about authentication: https://developer.atlassian.com/bitbucket/api/2/reference/meta/authentication#repo-clone
Be sure to NOT store any sensitive credentials client-side for security reasons.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh thank so very much, that link is very useful for me.
Well, finally I did authentication with Oauth.
Thank you.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.