Автоматическое приращение в базе данных в реальном времени с JavaScript

// It will automatically increase the value of db-path by 1
database.ref('db-path').set(firebase.database.ServerValue.increment(1))
ashirbad-panigrahi