sp-dev-fx-webparts/samples/js-gitHubBadge
Hugo Bernier 7ed51a0838 Updated sample JSON 2021-03-15 03:48:14 -04:00
..
assets Updated sample JSON 2021-03-15 03:48:14 -04: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 Update README.md 2020-11-09 00:20:47 -05: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 (JavaScript version)

Summary

Displays information from GitHub for a specified user. drop

Used SharePoint Framework Version

SPFx 1.8.0

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.