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
- Host: GitHub
- URL: https://github.com/shivamarora1/onedrive-angular
- Owner: shivamarora1
- Created: 2024-07-16T04:11:34.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-07-25T17:36:25.000Z (10 months ago)
- Last Synced: 2025-01-19T13:54:41.207Z (4 months ago)
- Topics: angular, msal-js, onedrive, onedrive-api, onedrive-picker, sharepoint, sharepoint-picker
- Language: TypeScript
- Homepage: http://shivamreloaded.com/onedrive-angular/
- Size: 2.05 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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:
Sharepoint Onedrive picker:
