Skip to content

A react app that allows the user to search a username and get profile account details from Github, Gitlab and BitBucket.

Notifications You must be signed in to change notification settings

layne74/Vcs-react-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxy for VCS search engine

Gets information on a searched user from Github, GitLab and bit buckets api's.

Install 🚀️

Save contents do desired location. Open cmd in current dir. Type npm install. After it is done you should have the node_modules folder.

Run the server npm start

Open cmd in current location and type npm start.

End Points🎉️

Get all user information 🚀️

Request

GET /get-user/:name

http://localhost:3001/get-user/:name

Response

eg:
[
  {
    githubinfo:[{information: info}]
  },
  {
    gitlabinfo:[{information: info}]
  },
  {
    bitbucketinfo:[{information: info}]
  },
]

Get github repo information 🚀️

Request

GET /user/github/repo/:name

http://localhost:3001/user/github/repo/:name

Response

eg:
[
  {
    repoName:"name"
    repoDesc:"description"
    createdOn:"dd-mm-yy"
    commitMsg:[msg1,msg2,msg3,msg4,msg5]
  }
]

Get gitlab repo information 🚀️

Request

GET /user/gitlab/repo/:name

http://localhost:3001/user/gitlab/repo/:name

Response

eg:
[
  {
    repoName:"name"
    repoDesc:"description"
    createdOn:"dd-mm-yy"
    commitMsg:[msg1,msg2,msg3,msg4,msg5]
  }
]

Get bitbucket repo information 🚀️

Request

GET /user/bitbucket/repo/:name

http://localhost:3001/user/bitbucket/repo/:name

Response

eg:
[
  {
    repoName:"name"
    createdOn:"dd-mm-yy"
    commitMsg:[msg1,msg2,msg3,msg4,msg5]
  }
]

Things to note

The github api can only be called 60 times per hour per IP, so make them count... unless you have a vpn. After the 60th call, github results will show "User not found".

Author

Layne Hutchings

About

A react app that allows the user to search a username and get profile account details from Github, Gitlab and BitBucket.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published