Parse, The Open Source effect
Florent Vilmart
[email protected] @flovilmart
About me… Disclaimer
☠
The Open Source Family iOS macOS
watchOS tvOS
browser node react-native
Android
Arduino Embeded C
.Net Xamarin
PHP
Server Dashboard
parse-server github.com/parseplatform/parse-server
⋆ #
&
$
%
~ 950
~120
~ 1850
~3000
~ 12k
Since January 2016
parse-server What is it good for? •
Object Storage (+real-time)
•
Authentication and Identity
•
File storage (GridFS, local, S3, Google Cloud…)
•
Push Notifications (APNS, GCM, AWS…)
•
Lightweight cloud functions
parse-server Under the belly •
express.js app
•
CLI (server and live query)
•
ES6
•
1000+ tests, 8 environments
•
~ 150Mb RAM in sustained use
parse-server New features •
MongoDB or Posgres database
•
Extensible: Push, Email, Files, Cache, Logging etc…
•
Live Queries
•
Login with: !, ", #, +, %, &, ', (, )…
•
Cloud Code (way faster!)
parse Core Concepts •
PFObject •
•
An object that can be saved, queried etc…
PFACL •
•
Access Control List (who can do what on that object)
PFRelation •
One to many relationships (Join tables)
parse Core Classes •
PFUser
•
PFInstallation •
•
Installation of your app on a particular device (push etc..)
PFRole •
Roles, that can have other users/roles for ACLs
parse-server Getting Started!
$ sh