An open API service indexing awesome lists of open source software.

https://github.com/shivamarora1/onedrive-angular

Microsoft personal one drive and share point integration with Angular
https://github.com/shivamarora1/onedrive-angular

angular msal-js onedrive onedrive-api onedrive-picker sharepoint sharepoint-picker

Last synced: 2 months ago
JSON representation

Microsoft personal one drive and share point integration with Angular

Awesome Lists containing this project

README

        

## How to run this project:
1. Transpile the source package `sdk-pnptimeline`
```
cd sdk-pnptimeline
npm install
npm build
```
2. Create a new [AAD App Registration](https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-register-app?tabs=certificate), note the ID of the application.
3. Replace the clientId in `auth.ts` file.
```
export const msalParams: Configuration = {
auth: {
authority: "https://login.microsoftonline.com/common",
clientId: "",
redirectUri: window.location.origin
},
cache: { cacheLocation: BrowserCacheLocation.LocalStorage }
}
```
4. Install the required dependencies
```
npm install --save
```
5. Run the application
```
npm run start
```
6. Building this project. Change script.start field in package.json as required.
```
npm run build
```

👉 Live [Demo](https://shivamreloaded.com/onedrive-angular/)

Personal Onedrive picker:
![img_2](https://github.com/user-attachments/assets/20432172-ddb6-4a69-af71-265fe6aeeafb)

Sharepoint Onedrive picker:
![img_1](https://github.com/user-attachments/assets/ece658d5-a66f-4b86-b35d-013bd011926a)