12 Commits (321dc72123e6eff0607b105382f601ff1bfe174d)

Author SHA1 Message Date
leonnicolas 5f19ddbb1b index.ts: schema without token
Signed-off-by: leonnicolas <leonloechner@gmx.de>
4 years ago
leonnicolas 478b4b688d
index.ts: cors 4 years ago
leonnicolas d281800251
cors allow all 4 years ago
leonnicolas 98437cc33a
package.json: remove apollo-server dependancy, using apollo-server-express instead 4 years ago
trivernis 96916b0fd1
Add permission management
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis b61dfa8810
Switch to apollo-server-express to enable middleware for authentication
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis d475851bb3
Add RPC Client implementation
- Add Message class to serialize and deserialize rpc messages
- Add Method enum for all rpc methods represented as 32 bit unsigned integers
- Add responses file to map rpc responses to types
- Add implementation of userserver api with PromiseSocket

Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
leonnicolas dc36ad431a
type-defs.ts: added types and queries 4 years ago
leonnicolas bb96724bcd
typeorm: connected to postgres with typeorm 4 years ago
leonnicolas fa323d414f
gulpfile.js: migrated form tslint to eslint. 4 years ago
leonnicolas 706f11ac41
gulpfile.js: only use gulp and gulp-nodemon (instead of nodemon) for watching file changes 4 years ago
leonnicolas 8711aa3b38
initial commit 4 years ago