SlideShare ist ein Scribd-Unternehmen logo
1 von 19
Downloaden Sie, um offline zu lesen
Vos appareils méritent plus que vos fichiers
v
Setup
$ npm install pouchdb ­­save
var pouchdb = require('pouchdb');  
<script src="pouchdb.min.js"></script>
Synchronization
var db = new PouchDB('todos');
var remoteCouch = 'https://mycouch/todos';
var opts = {live: true};
db.sync(remoteCouch, opts)
  .on('change', onChange)
  .on('uptodate', onUpdate)
  .on('error', onError);
Conflicts
var opts = {conflicts: true};
db.get('docid', opts, function (err, doc) {
  var rev = doc._rev;
  var conflictRev = doc._conflicts[0];
  rev = selectRevision(rev, conflictRev);
  opts = {rev: rev};
  db.get('docid', opts, function (err, doc) {
     db.put(doc);
  });
};
Messaging (pub/sub)
function onChange (change) {
 if(change.doc.type === 'message'
    && change.doc.chan === 'mychan') {        
   console.log(doc.content);
   db.put({
    type: 'message',
    chan: 'mychan'
    content: 'Got it! Now I publish'
   });  
}
cozy-labs/cozy-mobile
Cozy Mobile
# Add WebSQL plugin
$ cordova plugin add https://github.com/brodysoft/Cordova­SQLitePlugin
# Cordova app
var db = new PouchDB('cozy', {adapter: 'websql'});
db.replicate.from({https://mycozy/cozy, {
   batch_size: 5,
   batches_limit: 1,
   filter: function (doc) {
     return doc.docType === 'Folder' || doc.docType === 'File';
   },
   live: true
   since: checkpoint
});
cozy-labs/cozy-desktop
Cozy Desktop
# NodeWebkit app
var replicator = require('./backend/replication');                    
replicator.runReplication …
# Node.js Backend (replication.js)
var db = new Pouch('~/.cozy­desktop/db');
db.replicate.from({
   https://mycozy/cozy, 
   filter: function (doc) {
     return doc.docType === 'Folder' || doc.docType === 'File';       
   },
   since: checkpoint
})
db.replicate.to(…) ;
cozy-labs/cozy-light
Cozy Light
$ npm install cozy­light ­g
$ cozy­light install cozy­labs/cozy­light­pouchdb­api
$ cozy­light install cozy­labs/cozy­light­html5­apps
$ cozy­light install mygithub/mypouchapp1
$ cozy­light install mygithub/mypouchapp2
$ cozy­light start
Cozy Light is listening on port 19104…
# In your app… 
PouchDB.replicate('http://' + window.location.host + '/db/cozy', 'db')
pouchdb/pouchdb
pouchdb/pouchdb-server
colinskow/pouch-mirror
natevw/PeerPouch
nolanlawson/pouchdb-quick-search
pouchdb.com
Synchronisation de périphériques avec Javascript et PouchDB

Weitere ähnliche Inhalte

Was ist angesagt?

Hacking Mac OSX Cocoa API from Perl
Hacking Mac OSX Cocoa API from PerlHacking Mac OSX Cocoa API from Perl
Hacking Mac OSX Cocoa API from Perl
typester
 

Was ist angesagt? (20)

Windows Server 2012 Active Directory Recovery
Windows Server 2012 Active Directory RecoveryWindows Server 2012 Active Directory Recovery
Windows Server 2012 Active Directory Recovery
 
Db2
Db2Db2
Db2
 
Hadoop
HadoopHadoop
Hadoop
 
Realtime Database with iOS and Firebase
Realtime Database with iOS and FirebaseRealtime Database with iOS and Firebase
Realtime Database with iOS and Firebase
 
Config BuildConfig
Config BuildConfigConfig BuildConfig
Config BuildConfig
 
Hacking Mac OSX Cocoa API from Perl
Hacking Mac OSX Cocoa API from PerlHacking Mac OSX Cocoa API from Perl
Hacking Mac OSX Cocoa API from Perl
 
2018-06-06 @nuxtjs/auth with Django Rest Framework
2018-06-06 @nuxtjs/auth with Django Rest Framework2018-06-06 @nuxtjs/auth with Django Rest Framework
2018-06-06 @nuxtjs/auth with Django Rest Framework
 
Python queue solution with asyncio and kafka
Python queue solution with asyncio and kafkaPython queue solution with asyncio and kafka
Python queue solution with asyncio and kafka
 
Node.js - A Quick Tour II
Node.js - A Quick Tour IINode.js - A Quick Tour II
Node.js - A Quick Tour II
 
JavaScript patterns
JavaScript patternsJavaScript patterns
JavaScript patterns
 
Undo Management
Undo ManagementUndo Management
Undo Management
 
Day 2-some fun coding
Day 2-some fun codingDay 2-some fun coding
Day 2-some fun coding
 
お題でGroovyプログラミング: Part A
お題でGroovyプログラミング: Part Aお題でGroovyプログラミング: Part A
お題でGroovyプログラミング: Part A
 
Php Basics part 1
Php Basics part 1Php Basics part 1
Php Basics part 1
 
Nodejs - A-quick-tour-v3
Nodejs - A-quick-tour-v3Nodejs - A-quick-tour-v3
Nodejs - A-quick-tour-v3
 
Puppet Camp 2012
Puppet Camp 2012Puppet Camp 2012
Puppet Camp 2012
 
Node.js - A practical introduction (v2)
Node.js  - A practical introduction (v2)Node.js  - A practical introduction (v2)
Node.js - A practical introduction (v2)
 
Mysql5.1 character set testing
Mysql5.1 character set testingMysql5.1 character set testing
Mysql5.1 character set testing
 
Compare mysql5.1.50 mysql5.5.8
Compare mysql5.1.50 mysql5.5.8Compare mysql5.1.50 mysql5.5.8
Compare mysql5.1.50 mysql5.5.8
 
Mongodb workshop
Mongodb workshopMongodb workshop
Mongodb workshop
 

Andere mochten auch

The influence of US presidential elections on exchange rates
The influence of US presidential elections on exchange ratesThe influence of US presidential elections on exchange rates
The influence of US presidential elections on exchange rates
Georgian Court University
 
A presentation on economic news for the week.pptx 2
A presentation on economic news for the week.pptx 2A presentation on economic news for the week.pptx 2
A presentation on economic news for the week.pptx 2
gaganhanda11 gaganhanda11
 
A presentation on economic news for the week
A presentation on economic news for the weekA presentation on economic news for the week
A presentation on economic news for the week
gaganhanda11 gaganhanda11
 
Leverage social media to drive business the case sept 2012
Leverage social media to drive business the case sept 2012Leverage social media to drive business the case sept 2012
Leverage social media to drive business the case sept 2012
SimoneVersteeg
 
Probni rad
Probni radProbni rad
Probni rad
andrejtt
 
E mail new codes - on 5 october 2012
E mail new codes - on 5 october 2012E mail new codes - on 5 october 2012
E mail new codes - on 5 october 2012
BChange
 
Guaranteed Successful Projects
Guaranteed Successful ProjectsGuaranteed Successful Projects
Guaranteed Successful Projects
faruqh
 
An Extensible Virtual Digital Libraries Generator @ ECDL 2008
An Extensible Virtual Digital Libraries Generator @ ECDL 2008An Extensible Virtual Digital Libraries Generator @ ECDL 2008
An Extensible Virtual Digital Libraries Generator @ ECDL 2008
Leonardo Candela
 
Tugas metpen ane nurussyamsiyah (062410045)
Tugas metpen ane nurussyamsiyah (062410045)Tugas metpen ane nurussyamsiyah (062410045)
Tugas metpen ane nurussyamsiyah (062410045)
zhukma
 
[plan politika] Indonesian Youth and Movements : In the Journey of Youthful M...
[plan politika] Indonesian Youth and Movements : In the Journey of Youthful M...[plan politika] Indonesian Youth and Movements : In the Journey of Youthful M...
[plan politika] Indonesian Youth and Movements : In the Journey of Youthful M...
Plan Politika
 
20130528 solution linux_frousseau_nopain_webdev
20130528 solution linux_frousseau_nopain_webdev20130528 solution linux_frousseau_nopain_webdev
20130528 solution linux_frousseau_nopain_webdev
Frank Rousseau
 
2. facebook marketing concepts and resources
2. facebook marketing concepts and resources2. facebook marketing concepts and resources
2. facebook marketing concepts and resources
henry7vernon
 

Andere mochten auch (20)

The influence of US presidential elections on exchange rates
The influence of US presidential elections on exchange ratesThe influence of US presidential elections on exchange rates
The influence of US presidential elections on exchange rates
 
A presentation on economic news for the week.pptx 2
A presentation on economic news for the week.pptx 2A presentation on economic news for the week.pptx 2
A presentation on economic news for the week.pptx 2
 
A presentation on economic news for the week
A presentation on economic news for the weekA presentation on economic news for the week
A presentation on economic news for the week
 
Leverage social media to drive business the case sept 2012
Leverage social media to drive business the case sept 2012Leverage social media to drive business the case sept 2012
Leverage social media to drive business the case sept 2012
 
15 19 nov
15 19 nov15 19 nov
15 19 nov
 
Nothing But Love - My speech to my sister on her wedding day - Journey within...
Nothing But Love - My speech to my sister on her wedding day - Journey within...Nothing But Love - My speech to my sister on her wedding day - Journey within...
Nothing But Love - My speech to my sister on her wedding day - Journey within...
 
Workwise overview summary 2011
Workwise overview summary 2011Workwise overview summary 2011
Workwise overview summary 2011
 
Probni rad
Probni radProbni rad
Probni rad
 
Kannanotto: Talouden lyhyen ja pitkän aikavälin muutostarpeita
Kannanotto: Talouden lyhyen ja pitkän aikavälin muutostarpeitaKannanotto: Talouden lyhyen ja pitkän aikavälin muutostarpeita
Kannanotto: Talouden lyhyen ja pitkän aikavälin muutostarpeita
 
E mail new codes - on 5 october 2012
E mail new codes - on 5 october 2012E mail new codes - on 5 october 2012
E mail new codes - on 5 october 2012
 
Guaranteed Successful Projects
Guaranteed Successful ProjectsGuaranteed Successful Projects
Guaranteed Successful Projects
 
An Extensible Virtual Digital Libraries Generator @ ECDL 2008
An Extensible Virtual Digital Libraries Generator @ ECDL 2008An Extensible Virtual Digital Libraries Generator @ ECDL 2008
An Extensible Virtual Digital Libraries Generator @ ECDL 2008
 
Tugas metpen ane nurussyamsiyah (062410045)
Tugas metpen ane nurussyamsiyah (062410045)Tugas metpen ane nurussyamsiyah (062410045)
Tugas metpen ane nurussyamsiyah (062410045)
 
Kannanotto: Oppisopimuskoulutus tarvitsee oman kehittämisohjelmansa
Kannanotto: Oppisopimuskoulutus tarvitsee oman kehittämisohjelmansaKannanotto: Oppisopimuskoulutus tarvitsee oman kehittämisohjelmansa
Kannanotto: Oppisopimuskoulutus tarvitsee oman kehittämisohjelmansa
 
[plan politika] Indonesian Youth and Movements : In the Journey of Youthful M...
[plan politika] Indonesian Youth and Movements : In the Journey of Youthful M...[plan politika] Indonesian Youth and Movements : In the Journey of Youthful M...
[plan politika] Indonesian Youth and Movements : In the Journey of Youthful M...
 
Edgarbpp
EdgarbppEdgarbpp
Edgarbpp
 
LEAN & GREEN Restaurants (S11)
LEAN & GREEN Restaurants (S11)LEAN & GREEN Restaurants (S11)
LEAN & GREEN Restaurants (S11)
 
Debugging Hung Python Processes With GDB
Debugging Hung Python Processes With GDBDebugging Hung Python Processes With GDB
Debugging Hung Python Processes With GDB
 
20130528 solution linux_frousseau_nopain_webdev
20130528 solution linux_frousseau_nopain_webdev20130528 solution linux_frousseau_nopain_webdev
20130528 solution linux_frousseau_nopain_webdev
 
2. facebook marketing concepts and resources
2. facebook marketing concepts and resources2. facebook marketing concepts and resources
2. facebook marketing concepts and resources
 

Ähnlich wie Synchronisation de périphériques avec Javascript et PouchDB

4069180 Caching Performance Lessons From Facebook
4069180 Caching Performance Lessons From Facebook4069180 Caching Performance Lessons From Facebook
4069180 Caching Performance Lessons From Facebook
guoqing75
 
Facebook的缓存系统
Facebook的缓存系统Facebook的缓存系统
Facebook的缓存系统
yiditushe
 
Writing robust Node.js applications
Writing robust Node.js applicationsWriting robust Node.js applications
Writing robust Node.js applications
Tom Croucher
 
Puppet for Java developers - JavaZone NO 2012
Puppet for Java developers - JavaZone NO 2012Puppet for Java developers - JavaZone NO 2012
Puppet for Java developers - JavaZone NO 2012
Carlos Sanchez
 
Performance measurement and tuning
Performance measurement and tuningPerformance measurement and tuning
Performance measurement and tuning
AOE
 
Railsconf2011 deployment tips_for_slideshare
Railsconf2011 deployment tips_for_slideshareRailsconf2011 deployment tips_for_slideshare
Railsconf2011 deployment tips_for_slideshare
tomcopeland
 

Ähnlich wie Synchronisation de périphériques avec Javascript et PouchDB (20)

Device Synchronization with Javascript and PouchDB
Device Synchronization with Javascript and PouchDBDevice Synchronization with Javascript and PouchDB
Device Synchronization with Javascript and PouchDB
 
Spring data iii
Spring data iiiSpring data iii
Spring data iii
 
EWD 3 Training Course Part 20: The DocumentNode Object
EWD 3 Training Course Part 20: The DocumentNode ObjectEWD 3 Training Course Part 20: The DocumentNode Object
EWD 3 Training Course Part 20: The DocumentNode Object
 
Dmp hadoop getting_start
Dmp hadoop getting_startDmp hadoop getting_start
Dmp hadoop getting_start
 
Practical Chef and Capistrano for Your Rails App
Practical Chef and Capistrano for Your Rails AppPractical Chef and Capistrano for Your Rails App
Practical Chef and Capistrano for Your Rails App
 
Fatc
FatcFatc
Fatc
 
The promise of asynchronous php
The promise of asynchronous phpThe promise of asynchronous php
The promise of asynchronous php
 
WordCamp San Francisco 2011: Transients, Caching, and the Complexities of Mul...
WordCamp San Francisco 2011: Transients, Caching, and the Complexities of Mul...WordCamp San Francisco 2011: Transients, Caching, and the Complexities of Mul...
WordCamp San Francisco 2011: Transients, Caching, and the Complexities of Mul...
 
AngularJS - $http & $resource Services
AngularJS - $http & $resource ServicesAngularJS - $http & $resource Services
AngularJS - $http & $resource Services
 
Burn down the silos! Helping dev and ops gel on high availability websites
Burn down the silos! Helping dev and ops gel on high availability websitesBurn down the silos! Helping dev and ops gel on high availability websites
Burn down the silos! Helping dev and ops gel on high availability websites
 
Drush. Secrets come out.
Drush. Secrets come out.Drush. Secrets come out.
Drush. Secrets come out.
 
4069180 Caching Performance Lessons From Facebook
4069180 Caching Performance Lessons From Facebook4069180 Caching Performance Lessons From Facebook
4069180 Caching Performance Lessons From Facebook
 
PHP Data Objects
PHP Data ObjectsPHP Data Objects
PHP Data Objects
 
Facebook的缓存系统
Facebook的缓存系统Facebook的缓存系统
Facebook的缓存系统
 
Writing robust Node.js applications
Writing robust Node.js applicationsWriting robust Node.js applications
Writing robust Node.js applications
 
Puppet for Java developers - JavaZone NO 2012
Puppet for Java developers - JavaZone NO 2012Puppet for Java developers - JavaZone NO 2012
Puppet for Java developers - JavaZone NO 2012
 
Cakephp2study tips集
Cakephp2study tips集Cakephp2study tips集
Cakephp2study tips集
 
Performance measurement and tuning
Performance measurement and tuningPerformance measurement and tuning
Performance measurement and tuning
 
Virtual Madness @ Etsy
Virtual Madness @ EtsyVirtual Madness @ Etsy
Virtual Madness @ Etsy
 
Railsconf2011 deployment tips_for_slideshare
Railsconf2011 deployment tips_for_slideshareRailsconf2011 deployment tips_for_slideshare
Railsconf2011 deployment tips_for_slideshare
 

Mehr von Frank Rousseau

Mehr von Frank Rousseau (16)

Node.js et NPM: de la récupération de dépendances à la publication de paquets
Node.js et NPM: de la récupération de dépendances à la publication de paquetsNode.js et NPM: de la récupération de dépendances à la publication de paquets
Node.js et NPM: de la récupération de dépendances à la publication de paquets
 
Newebe, un Réseau Social ou Chacun est Indépendant
Newebe, un Réseau Social ou Chacun est IndépendantNewebe, un Réseau Social ou Chacun est Indépendant
Newebe, un Réseau Social ou Chacun est Indépendant
 
Conseils sur le Design pour les Développeurs par un Développeur
Conseils sur le Design pour les Développeurs par un DéveloppeurConseils sur le Design pour les Développeurs par un Développeur
Conseils sur le Design pour les Développeurs par un Développeur
 
Développement web sans souffrance avec Cozy
Développement web sans souffrance avec CozyDéveloppement web sans souffrance avec Cozy
Développement web sans souffrance avec Cozy
 
Cozy, a Personal PaaS
Cozy, a Personal PaaSCozy, a Personal PaaS
Cozy, a Personal PaaS
 
Newebe, a social network where all users are independent
Newebe, a social network where all users are independentNewebe, a social network where all users are independent
Newebe, a social network where all users are independent
 
Cozy Cloud, Pour un meilleur web
Cozy Cloud, Pour un meilleur webCozy Cloud, Pour un meilleur web
Cozy Cloud, Pour un meilleur web
 
Comment les grands acteurs du web s'improvisent magiciens et jouent avec nos ...
Comment les grands acteurs du web s'improvisent magiciens et jouent avec nos ...Comment les grands acteurs du web s'improvisent magiciens et jouent avec nos ...
Comment les grands acteurs du web s'improvisent magiciens et jouent avec nos ...
 
A startup with no office, hipster tools and open source products
A startup with no office, hipster tools and open source productsA startup with no office, hipster tools and open source products
A startup with no office, hipster tools and open source products
 
How to make a Personal Single Page Application with Cozy
How to make a Personal Single Page Application with CozyHow to make a Personal Single Page Application with Cozy
How to make a Personal Single Page Application with Cozy
 
How to quickly make REST APIs with CompoundJS
How to quickly make REST APIs with CompoundJSHow to quickly make REST APIs with CompoundJS
How to quickly make REST APIs with CompoundJS
 
Haibu: dev deployment is fast and easy again
Haibu: dev deployment is fast and easy againHaibu: dev deployment is fast and easy again
Haibu: dev deployment is fast and easy again
 
Cozy Cloud, JDLL 2012
Cozy Cloud, JDLL 2012Cozy Cloud, JDLL 2012
Cozy Cloud, JDLL 2012
 
Newebe, JDLL 2012
Newebe, JDLL 2012Newebe, JDLL 2012
Newebe, JDLL 2012
 
Newebe for RMLL 2012
Newebe for RMLL 2012Newebe for RMLL 2012
Newebe for RMLL 2012
 
Cozy Cloud for RMLL 2012
Cozy Cloud for RMLL 2012Cozy Cloud for RMLL 2012
Cozy Cloud for RMLL 2012
 

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

Synchronisation de périphériques avec Javascript et PouchDB