From de9771959850f193f173616b73099c3ae6f010c9 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Tue, 9 Jun 2020 19:23:44 +0300 Subject: feat!: integrate mongoDB --- app.ts | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'app.ts') diff --git a/app.ts b/app.ts index 264b517..0dce8b6 100644 --- a/app.ts +++ b/app.ts @@ -17,25 +17,5 @@ app.use(express.errorHandler()); app.configure(services); -// Mock data -app.service('polls').create({ - contents: { - left: { - url: 'https://github.com/eug-vs.png', - votes: 10 - }, - right: { - url: 'https://github.com/ilyayudovin.png', - votes: 15 - } - } -}); - -app.service('users').create({ - name: 'John Doe', - age: 20, - avatarUrl: 'https://github.com/ilyayudovin.png' -}); - export default app; -- cgit v1.2.3