sp-dev-fx-webparts/samples/js-gitHubBadge
petkir 71f6469fa0 URL dev.office.com to docs.microsoft.com 2020-06-09 09:09:22 +02:00
..
assets Added sample js-gitHubBadge (#846) 2019-05-04 18:04:23 +03:00
config Added sample js-gitHubBadge (#846) 2019-05-04 18:04:23 +03:00
src Added sample js-gitHubBadge (#846) 2019-05-04 18:04:23 +03:00
teams Added sample js-gitHubBadge (#846) 2019-05-04 18:04:23 +03:00
tools Added sample js-gitHubBadge (#846) 2019-05-04 18:04:23 +03:00
.editorconfig Added sample js-gitHubBadge (#846) 2019-05-04 18:04:23 +03:00
.gitignore Added sample js-gitHubBadge (#846) 2019-05-04 18:04:23 +03:00
.yo-rc.json Added sample js-gitHubBadge (#846) 2019-05-04 18:04:23 +03:00
README.md URL dev.office.com to docs.microsoft.com 2020-06-09 09:09:22 +02:00
gulpfile.js Added sample js-gitHubBadge (#846) 2019-05-04 18:04:23 +03:00
package.json Added sample js-gitHubBadge (#846) 2019-05-04 18:04:23 +03:00
tsconfig.json Added sample js-gitHubBadge (#846) 2019-05-04 18:04:23 +03:00
tslint.json Added sample js-gitHubBadge (#846) 2019-05-04 18:04:23 +03:00

README.md

GitHub Badge

Summary

Displays information from GitHub for a specified user. drop

Used SharePoint Framework Version

drop

Applies to

Prerequisites

None

Solution

Solution Author(s)
js-GitHubBadge Eric Skaggs @skaggej

Version history

Version Date Comments
1.0 April 18, 2019 Initial release

Disclaimer

THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.


Minimal Path to Awesome

  • Clone this repository
  • in the command line run:
    • npm install
    • gulp serve

Include any additional steps as needed.

Features

It's not the prettiest thing in the world, but the goal here was to create a web part that demonstrates something a bit beyond the standard "Hello, World!" web part in which we change some HTML. This sample shows how to pull in data from somewhere without authentication and without over-complicating things.

Future samples will refactor this into something more professional that follows recommended coding patterns and practices and leverage modern frameworks.

Ultimately, this sample along with its yet-to-be-created future samples could be a useful teaching tool to developers new to SPFx as well as developers who aren't well-versed in SPFx coding patterns or the various frameworks available.