sp-dev-fx-webparts/tutorials/api-scopes-tutorial
VesaJuvonen b5eec0ccc5 Updating tutorial folder to avoid naming conflicts related on guidance 2018-03-12 14:22:46 +02:00
..
config Updating tutorial folder to avoid naming conflicts related on guidance 2018-03-12 14:22:46 +02:00
src/webparts/graphConsumer Updating tutorial folder to avoid naming conflicts related on guidance 2018-03-12 14:22:46 +02:00
.editorconfig Updating tutorial folder to avoid naming conflicts related on guidance 2018-03-12 14:22:46 +02:00
.gitignore Updating tutorial folder to avoid naming conflicts related on guidance 2018-03-12 14:22:46 +02:00
.yo-rc.json Updating tutorial folder to avoid naming conflicts related on guidance 2018-03-12 14:22:46 +02:00
README.md Updating tutorial folder to avoid naming conflicts related on guidance 2018-03-12 14:22:46 +02:00
gulpfile.js Updating tutorial folder to avoid naming conflicts related on guidance 2018-03-12 14:22:46 +02:00
package.json Updating tutorial folder to avoid naming conflicts related on guidance 2018-03-12 14:22:46 +02:00
tsconfig.json Updating tutorial folder to avoid naming conflicts related on guidance 2018-03-12 14:22:46 +02:00

README.md

Consuming APIs secured with Azure Active Directory within SharePoint Framework

Summary

This sub folders contains a client-side project that is related to the tutorial available at the following URL: https://docs.microsoft.com/en-us/sharepoint/dev/spfx/use-aad-tutorial

The UI of the sample application

Solution

Solution Author(s)
spfx-api-scopes-tutorial Paolo Pialorsi (PiaSys.com - @PaoloPia)

Version history

Version Date Comments
1.0.0 February 18th 2018 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.


Build and run the tutorials

To build and run this client-side project, you will need to clone and build the tutorials project.

Clone this repo by executing the following command in your console:

git clone https://github.com/SharePoint/sp-dev-fx-webparts.git

Navigate to the cloned repo folder which should be the same as the repo name:

cd sp-dev-fx-webparts

Navigate to the tutorials folder:

cd tutorials

Navigate to the specific web part folder:

cd 'subfolder'

Now run the following command to install the npm packages:

npm install

This will install the required npm packages and depedencies to build and run the client-side project.

Once the npm packages are installed, run the command to preview your web parts in SharePoint Workbench:

gulp serve