SOLVED

SharePoint Provider Hosted Add-Ins with Node.js and ReactJS

%3CLINGO-SUB%20id%3D%22lingo-sub-1122471%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Provider%20Hosted%20Add-Ins%20with%20Node.js%20and%20ReactJS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1122471%22%20slang%3D%22en-US%22%3EAny%20reason%20why%20you%20do%20not%20want%20to%20use%20SPFx%3F%3CBR%20%2F%3E%3CBR%20%2F%3EReplying%20to%20your%20question%2C%20yes%20it's%20possible%20as%20I've%20done%20it%20once%2C%20before%20SPFx%20was%20available.%20But%20at%20the%20time%20it%20was%20a%20bit%20harder%20as%20I%20had%20to%20deal%20with%20all%20the%20authentication%20and%20ended%20up%20using%20a%20package%20from%20npm%20to%20help%20-%20can't%20remember%20the%20name...%20But%20yes%2C%20it's%20possible%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1122182%22%20slang%3D%22en-US%22%3ESharePoint%20Provider%20Hosted%20Add-Ins%20with%20Node.js%20and%20ReactJS%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1122182%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20would%20like%20to%20know%20if%20we%20can%20create%20SharePoint%20Provider%20Hosted%20Add-Ins%20with%20Node.js%20as%20Backend%20and%20the%20Fronted%20UI%2FUX%20Components%20using%20React%20or%20Vue.%20If%20yes%2C%20do%20I%20need%20to%20us%20SharePoint%20Rest%20APIs%20to%20access%20the%20SharePoint%20Site%20from%20my%20Backend%20or%20can%20I%20use%20JSOM%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYour%20answers%20are%20much%20appreciated.%20Thanks%20in%20advance!!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3ESirbuland%20Khan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1122182%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPIs%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExtensibility%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPnP%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EResponsive%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New Contributor

Hello Everyone,

 

I would like to know if we can create SharePoint Provider Hosted Add-Ins with Node.js as Backend and the Fronted UI/UX Components using React or Vue. If yes, do I need to us SharePoint Rest APIs to access the SharePoint Site from my Backend or can I use JSOM?

 

Your answers are much appreciated. Thanks in advance!!

 

Regards,

Sirbuland Khan

3 Replies
Any reason why you do not want to use SPFx?

Replying to your question, yes it's possible as I've done it once, before SPFx was available. But at the time it was a bit harder as I had to deal with all the authentication and ended up using a package from npm to help - can't remember the name... But yes, it's possible
Thanks Joel!!

Yes, I'm considering SharePoint Framework for creating Client Side WebParts. But this would only allow me to work with parts of a page, wherein I'm planning on a Solution. SharePoint 2013 On-Prem had Sandbox Solution option. I think which is no longer the case for SharePoint Online.
best response confirmed by Beau Cameron (MVP)
Solution

@Sirbuland_Khan perhaps single part app pages with SharePoint Framework web parts could be a solution for you?
SharePoint Framework would give you tremendous advantages, like authentication, possibility to call graph and 3rd party APIs using Azure AD, etc...

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/single-part-app-pages