This is a repository that contains an example on how to use parse-server-addon-cloud-class
for your Parse Server, defining some behaviours for the _User
class, and for an example Score
class.
It also contains an example addon (AnalyticsAddon
), which saves an analytic each time a new object is created. This addon is then plugged to the classes mentioned before.
index.js
cloud/main.js
: The main Parse.Cloud filecloud/addons/AnalyticsAddon.js
: The analytics addoncloud/classes/User/User.js
: The_User
classcloud/classes/Score/Score.js
: TheScore
class
To start please take a look at the cloud/main.js
file.
MIT
## Credits
Juan Camilo Guarín Peñaranda
Otherwise SAS
https://github.com/owsas
Cali, Colombia
2018