Skip to content

MikeTRose/sfcontacts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Salesforce contact manager app built on the Aerobatic HTML5 platform. You can see the app live at https://sfcontacts.aerobaticapp.com

Fork your own version

If you want to fork your own version of this app to play around with and extend, here's the steps to follow:

  1. Sign-in to Aerobatic at https://aerobaticapp.com/auth/github
  2. Click the Create App button
  3. Enter a name for your app
  4. Rather than clone the aerobatic-starter app, clone this repo. Alternatively you could fork it on GitHub then pull down your forked version.
git clone https://github.com/aerobatic/sfcontacts.git
  1. Create the .aerobatic file as instructed.
  2. Save the app.
  3. Now login to Salesforce and create a new connected app. This link will take you straight there.
  4. Check the Enable OAuth Settings box
  5. In the Callback URL box enter https://<your_app>.aerobaticapp.com/auth/callback where your_app is the name you provided in step 3.
  6. Add Access and manage your data (api) to the list of selected scopes
  7. In the Start URL enter https://<your_app>.aerobaticapp.com.
  8. Enter the other require fields and click Save.
  9. On the following screen copy down the Consumer Key and Consumer Secret.
  10. Back in Aerobatic, click on the Settings button on the right. On the settings screen scroll down to the Security section. Change the Authentication option to OAuth. Then select Salesforce as the OAuth provider and paste in the Client ID and Client Secret (Client ID = Consumer Key, Client Secret = Consumer Secret). Finally check the Require https box before clicking the Update App button.
  11. Open a terminal and cd to the directory where you cloned the repository.
  12. Run npm install & bower install. This assume you have node installed. Once node is installed you can run npm install -g bower.
  13. Run grunt sim --open to launch your app in simulator mode and play around in the code.
  14. When you're ready to push your changes to production, stop the simulator and run grunt deploy --cowboy.

Running Tests

At a commannd run: grunt test

About

A Salesforce contact manager sample app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 52.5%
  • HTML 42.1%
  • CSS 5.4%