This app showcases use of Parse + React for a simple collaborative humor site. Users can sign up and either submit joke setups or punchlines, then vote on their favorite combinations.
You can check out the official hosted version at anyjoke.parseapp.com.
-
Create a new app on Parse, and make sure you go through our getting started guide for Cloud Code.
-
Type
parse new .
in the directory where this README resides, authenticate with your Parse credentials, and choose the app name you created. -
Edit
config/global.json
and put in your Parse Application ID and Parse Master Key in the application setup section. You can find your app keys in your app settings page under "Application Keys". The Master Key is necessary for managing deploys. -
Edit the
Parse.initialize
lines inpublic/index.html
andpublic/setup/index.html
to use your Parse Application ID and Parse Javascript Key (not your Master Key, since these files will be public). -
Type
parse deploy
. This deploys your app to Parse. -
Now, we'll need to configure the url where you can reach your app. Go to your app's setting page and set a unique subdomain for your Web Hosting url.
-
Go to yoursubdomain.parseapp.com and view your copy of AnyJoke!