168 Commits (d542d6bdfdeff268345bed37278421a0a9073eac)
 

Author SHA1 Message Date
leonnicolas c8ad2badc2
src/datasource/userservice/userserviceAPI.ts: fix eslint error 4 years ago
trivernis 49e29259bd
Change semi rule to enforce semicolons
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis 910e120baf
Bypass role handling in development mode
Signed-off-by: trivernis <trivernis@protonmail.com>
4 years ago
trivernis fcbd65d53b
Add createRole method to userServiceAPI
Signed-off-by: trivernis <trivernis@protonmail.com>
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 3164404218
Merge pull request #2 from flotte-goes-smart/dev
Dev
4 years ago
leonnicolas dc36ad431a
type-defs.ts: added types and queries 4 years ago
leonnicolas 85e1d95631
type-des: first test mutation 4 years ago
leonnicolas 87fd338088
Dockerfile: db connection works out of Docker container. 4 years ago
leonnicolas 7ce786d3d9
Merge pull request #1 from flotte-goes-smart/dev
typeorm: connected to postgres with typeorm
4 years ago
leonnicolas bb96724bcd
typeorm: connected to postgres with typeorm 4 years ago
leonnicolas fd5c293c41
.eslintrc.json: added eslint file 4 years ago
leonnicolas fa323d414f
gulpfile.js: migrated form tslint to eslint. 4 years ago
leonnicolas 9aa94a33ce
src: added skeleton 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