Blade Barringer
d5736e1178
Convert classes to use Babel syntax
2015-11-04 20:47:32 -06:00
Matteo Pagliazzi
3135613be3
tweaks eslint rules, fixes gulp-eslint, adds some comments
2015-11-04 18:50:08 +01:00
Matteo Pagliazzi
cbca250b99
remove winston-mail and winston-newrelic from deps as they may not be compatible with v2
2015-11-04 18:26:38 +01:00
Matteo Pagliazzi
182e4bff6f
wip api-v3: adds some comments and more eslint rules
2015-11-04 18:26:38 +01:00
Matteo Pagliazzi
5e73bc9f1c
adds logger and starts logging errors
2015-11-04 18:26:38 +01:00
Matteo Pagliazzi
5f3e798016
add basic .eslintrc and correct some style issues
2015-11-04 18:26:38 +01:00
Matteo Pagliazzi
4322b8c3dc
wip api-v3: add error handler middleware and custom error classes
2015-11-04 18:26:38 +01:00
Matteo Pagliazzi
b21df9edb3
use node 4, npm 3, mongoose 4 and express 4
2015-11-04 18:26:38 +01:00
Matteo Pagliazzi
ed0e4c6d20
Reorganize files under /src, separate express app in two apps, one for api v1 and v2 and the other \
...
for the upcoming api v3
Reorganize files under /src, separate express app in two apps, one for api v1 and v2 and the other for the upcoming api v3
move api v2 routes in a separate folder, rename apiv1 file for better readability, remove auth routes for api v1
move api-v2 controllers in subdirectory
move unorganized files to /libs
fix gulp requires and separate server in old (api v1 and v2) and new (api v3) app
fix require paths
fix require paths
fix require paths
put api v1 back
Reorganize files under /src and separate express app in one for api v1 and v2 and the other for v3
2015-11-02 17:43:32 +01:00
Matteo Pagliazzi
4600e96dc0
firebase can be enabled through config
2015-09-06 20:19:53 +02:00
Matteo Pagliazzi
607ddbb1f2
typos and disable firebase
2015-09-06 20:11:24 +02:00
Matteo Pagliazzi
ef9aecf531
disable firebase syncing for tavern
2015-09-06 20:08:31 +02:00
Matteo Pagliazzi
b395596614
firebase should only run in production
2015-09-06 16:35:49 +02:00
Matteo Pagliazzi
995e3a796d
store group name on firebase
2015-09-06 16:29:45 +02:00
Matteo Pagliazzi
4c89538d18
typos and comments
2015-09-06 16:22:12 +02:00
Matteo Pagliazzi
521c999963
delete groups and users from firebase when deleted on habitica
2015-09-06 16:09:13 +02:00
Matteo Pagliazzi
9764e31e2a
firebase: remove instead of set(false)
2015-09-05 16:33:41 +02:00
Matteo Pagliazzi
c89cf20bd3
sync groups' members with firebase
2015-09-05 15:44:45 +02:00
Matteo Pagliazzi
0f1d514460
typo
2015-09-05 15:44:45 +02:00
Matteo Pagliazzi
6d91a1905a
remove unnecessary code
2015-09-05 15:44:45 +02:00
Matteo Pagliazzi
491652d712
fix several typypos and a missing dep
2015-08-14 12:00:09 +02:00
Matteo Pagliazzi
47f6f2febe
refactor middlewares in their own folder, move buildFiles to libs/buildFiles
2015-08-14 11:50:09 +02:00