36 Commits

Author SHA1 Message Date
0d1fddf512 Fix linting errors 2019-09-14 12:53:30 +07:00
ae2ed21f05 Remove unused routes
TBD: fix comments-server
2019-09-11 12:18:13 +07:00
eebe26f706 Extract redux, http-types, http-client and test-utils 2019-09-10 17:56:25 +07:00
b813916c19 Use simpler interface for Bootstrap app server 2019-09-07 19:27:21 +07:00
3739f27ebe Add first test for JSONRPC service 2019-09-07 09:38:43 +07:00
5cf54d0be9 Rename old UserService to AuthService, LoginRoutes to AuthRoutes 2019-09-05 10:19:27 +07:00
5b5adb6408 Update dependencies
TypeScript 3.6 cannot be updated because of a current bug with
FindConditions<?>.

https://github.com/typeorm/typeorm/pull/4470
https://github.com/typeorm/typeorm/issues/4662

https://github.com/microsoft/TypeScript/pull/33144
2019-09-01 14:17:08 +07:00
dcc5b52725 Do not subclass Bootstrap.ts 2019-08-31 15:29:37 +07:00
5688a65cb0 Rename configureApplication to configureServer 2019-08-31 14:19:56 +07:00
8ca6107ce6 Replace Application class w/ configureApplication 2019-08-31 14:14:11 +07:00
64f5f2f642 Replace Application.ts with createAppication and configureApplication 2019-08-31 11:42:12 +07:00
67e3da3246 Add ability to configure rpc services. Needs further testing 2019-08-31 09:12:10 +07:00
5b9f4b9321 Create transaction for JSONRPC middleware 2019-08-30 13:21:16 +07:00
2f35b65f48 Add jsonrpc services to server(s) 2019-08-30 11:02:31 +07:00
7434c9fb42 Add UserService (RPC version) 2019-08-28 18:26:26 +07:00
67ae8dac57 Replace unnecessary DB with IDatabase 2019-08-26 18:53:52 +07:00
9aaf8b62a9 Add @rondo.dev/logger, remove winston 2019-08-25 14:12:24 +07:00
dffad844ad Rename scope @rondo to @rondo.dev 2019-08-25 11:33:06 +07:00
4c3570a9ce Do not extend/modify existing entities
Typeorm loads all @Entities and decorator-defined relations into a
global variable, and thus makes it impossible to override already
defined variables.

Will have to think about how to disable this behaviour in case the user
of this library does not want to use predefined variables, but for now
we will use the predefined defaults.
2019-08-02 20:17:10 +07:00
a6649def72 Add packages/server/src/database/DB.ts 2019-08-02 17:05:36 +07:00
a672aab11d Add ability to run app minified 2019-04-15 21:45:03 +12:00
5f662a1ac1 Make server work with browserify --node 2019-04-15 14:28:56 +12:00
dcc2fb4dc8 Log error messages during app Bootstrap.ts 2019-04-15 13:09:32 +12:00
93b048bc10 Add correlationId to SqlLogger 2019-03-23 21:16:20 +08:00
428630072c Fix (hopefully) CSRF for SPA 2019-03-17 15:04:15 +05:00
0c7af3538c Move LoginRoutes from /app to /api 2019-03-17 14:24:09 +05:00
360dc83ded Setup simple SSR, untested 2019-03-14 12:38:34 +05:00
155c98d000 Extract comments functionality to packages/comments-server 2019-03-13 11:24:08 +05:00
694d1857b3 Export Bootstrap in packages/server/src/application/index.ts 2019-03-12 14:16:22 +05:00
e18e00a6e5 Use UserPermissions in TeamRoutes 2019-03-10 15:42:58 +05:00
3b295b2e13 Add StoryRoutes.test.ts 2019-01-25 12:28:20 +01:00
2b431bee78 Separate services and routes into features 2019-01-25 10:12:40 +01:00
2ed3aeac26 Add Routes to application 2019-01-24 17:55:49 +01:00
5881b64ecf Export everything in packages/server 2019-01-19 11:26:17 +01:00
8fd2eafdca Reorganize tsconfig.json files
According to:
https://github.com/RyanCavanaugh/learn-a
2019-01-18 23:00:36 +01:00
8a5ab067f6 Move server into src/ 2019-01-18 20:34:16 +01:00