☁︎ Building APIs with GraphQL and Salesforce
- The project is now using jsforce instead of nForce
- Added CRUDs for multiple account records.
- Download the project
git clone https://github.com/wearemav3rik/salesforce-graphql.git
- Install the packages
yarn install
- Start the GraphQL server
yarn start
- Go to your browser and open
http://localhost:4000/graphql
UsenForce
to integrate and perform queries with SalesforceUtilise existing patterns in the project: Node nForce- Use
jsforce
to integrate and perform queries with Salesforce - Create an easy to use pattern for GraphQL and Salesforce
- Utilise these patterns as back-end for React and React Native salesforce projects
- Use a .env file in your application's directory
CONSUMER_KEY =
CONSUMER_SECRET =
SALESFORCE_USERNAME =
SALESFORCE_PASSWORD =
SALESFORCE_SECURITY_TOKEN =
- Run
yarn install
to install these dependencies:
- Add more mutations
Create multiple accountsUpdate multiple accountsDelete multiple accountsUpsert multiple accounts
- Fill up GraphiQL documentation
queries- mutation
- Use facebook dataloader to improve query scalability