Open benramsay opened 2 years ago
Thanks for opening your first issue! :wave: If you have found this library helpful, please star it. A maintainer will try to respond within 7 days. If you haven’t heard anything by then, please bump this thread.
Hey @benramsay! Heres a demo project I made to help you. This is a React app leveraging a DX org or any org you want as a REST API. Theres a build command so this will work in production Orgs. (Probably a good idea to make these assets a package for prod)
Hi @freddysilber! Thank you for the time you took to implement this app. That will help me alot! I am trying to make it work. Actually, I am new with Salesforce! Could you please give a little more details on what to do on the salesforce code and server side? It seems to me that it is necessary to change the code: to add some credentials ( 'user variable' ), or perhaps other modifications. Isn't it?
After the build and the command: "npm run start -- --app my-app" I had "Authenticating" as a message and that's it :( And I don't see what I have to do next to make the application work.
@benramsay Have you made a scratch org and connected it to your IDE? I use VSCODE and Salesforce provides some documentation for getting started with DX.
You'll need an active scratch org for this app to work since the app uses the scratch org as a REST api and all requests need to signed with your authentication token :)
If you need more in depth help, feel free to reach out in an email!
I am new to salesforce :(
Is there a way to use this react components directly inside Salesforce (like SLDS: Salesforce Lightning Design System)?
Or we should use this library with Salesforce backend through Rest API?
It would be a great help if you have a link for any example of use of this library with Salesforce backend?
Thx