aboutsummaryrefslogtreecommitdiff
path: root/app.ts
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-09 19:23:44 +0300
committereug-vs <eug-vs@keemail.me>2020-06-09 19:23:44 +0300
commitde9771959850f193f173616b73099c3ae6f010c9 (patch)
tree65262d9badbc46f99d8644705c4aeed62e5373ca /app.ts
parent39d637a817460ee62a0a6667abd6afc5b6898895 (diff)
downloadwhich-api-de9771959850f193f173616b73099c3ae6f010c9.tar.gz
feat!: integrate mongoDB
Diffstat (limited to 'app.ts')
-rw-r--r--app.ts20
1 files changed, 0 insertions, 20 deletions
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;