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
Blade Barringer
421b402948
Add helper to check the existence of a document
2015-10-31 10:55:28 -05:00
Blade Barringer
6a65711c2f
Close db connections in helpers
2015-10-31 10:55:17 -05:00
Blade Barringer
aa111b3c1a
Update tests to assert against translation strings
2015-10-30 09:01:57 -05:00
Blade Barringer
04fbdaa107
Reinstate error code in resolve promise for api tests.
2015-10-26 07:53:51 -05:00
Blade Barringer
b763aedd29
Change helper to reject only error message
2015-10-24 22:23:30 -05:00
Blade Barringer
7ad2e6d1ff
Add comments to helper methods
2015-10-23 12:32:15 -05:00
Blade Barringer
abf4b1c643
Fix bug where tests were failing erroneously
2015-10-22 12:46:54 -05:00
Blade Barringer
d28450d52a
Port groups /leave tests to new integration tests.
2015-10-22 12:28:26 -05:00
Blade Barringer
cd224ac8d8
Add members attribute to tavern
2015-10-18 09:59:39 -05:00
Blade Barringer
63b17f0173
Create method to reset habitica db
2015-10-18 08:47:14 -05:00
Blade Barringer
ece2985eb0
Return better error when connection can't be established
2015-10-18 08:46:47 -05:00
Blade Barringer
4fa82ba196
Update generated document with update object
2015-10-18 07:00:48 -05:00
Blade Barringer
24001c5c66
Create generate group function
2015-10-18 06:15:38 -05:00
Blade Barringer
8f7ecf7d7c
Rename uuid function
2015-10-18 06:03:22 -05:00
Blade Barringer
ab2b564a03
Update error check
2015-10-17 21:24:46 -05:00
Blade Barringer
477fb8edcb
Add missing semicolon
2015-10-17 20:38:18 -05:00
Blade Barringer
75f63b1367
Add functionality to generate user to update user
2015-10-17 19:19:40 -05:00
Blade Barringer
c51caa0664
Add generate new user helper
2015-10-17 18:27:19 -05:00
Blade Barringer
de6a853aaf
Adjust api helper
2015-10-17 18:05:44 -05:00
Blade Barringer
02e9775ba7
Set up new api test structure
2015-10-17 12:37:17 -05:00
Blade Barringer
a61632fa92
Set up api tests
2015-10-16 21:56:46 -05:00