text: const app = require('./web/server')
  const startConsumers = require('./sqs/consumer')
  const SaleTopic = require('./subs/sale')
  const PayTopic = require('./subs/pay')
  
  const topics = []
  
  
  topics.push(new SaleTopic())
  topics.push(new PayTopic())
  
  
  app.listen(8080, function() {
      console.log('Server started!')
      startConsumers(topics)
  });
  