Commit Graph
100 Commits
Author SHA1 Message Date
philipp 11c7d041ef 🎨 fixed landing html + styling
continuous-integration/drone/pr Build is passing
ref #52
2020-12-23 17:55:44 +01:00
philipp a1c3751164 🚀 CI build on feature branch tags
ref #24
2020-12-12 18:13:23 +01:00
philipp 359e955926 🚀 CI/CD
ref #24
2020-12-12 17:48:45 +01:00
philipp c391201570 🐳 optimize Dockerfile in speed and size (pnpm + layers)
ref #24
2020-12-12 17:48:32 +01:00
philipp e3980096e2 🚧 move sqlite to to production
ref #24
2020-12-12 17:48:02 +01:00
philipp a7e27c6f6c drop unused packages
ref #24
2020-12-12 13:27:57 +01:00
philipp bcb266e29b move to node:14.15.1-alpine3.12
ref #24
2020-12-12 13:24:27 +01:00
philipp 95f40a9c28 🩺🐳 Docker healthcheck
ref #24
2020-12-12 13:15:29 +01:00
philipp 8bcaf710ad integrate pm2 process manager to keep the app up and running
ref #24
2020-12-12 13:14:38 +01:00
philipp b8aebc14e8 🐳 working Dockerfile
ref #24
2020-12-12 13:04:37 +01:00
philipp 5ccdfe1540 package.json - drop nodemon delay
ref #24
2020-12-12 13:04:20 +01:00
philipp a1e3289a88 🐞 fixed app.ts for production use
ref #24
2020-12-12 12:39:53 +01:00
philipp 47e4f6cd7e basic build works 2020-12-12 12:29:14 +01:00
philipp 36fbccb286 🚧 implementation in AuthController@login
ref #25
2020-12-12 11:55:45 +01:00
philipp cbecff85f0 Merge branch 'feature/18-exported-env-vars' into dev
close #16, close #18
2020-12-09 19:41:09 +01:00
philipp 622bdf7a3f move to dotenv + custom env validations
ref #18
2020-12-09 19:40:08 +01:00
philipp 4cfe9df429 final phone validation move to ZZ default
close #16
2020-12-09 19:09:20 +01:00
philipp 0fc0b87c67 Merge branch 'dev' into feature/18-exported-env-vars 2020-12-09 19:04:42 +01:00
philipp 09f4998499 Merge branch 'dev' of https://git.odit.services/lfk/backend into dev 2020-12-09 19:01:39 +01:00
philipp 18ef8df3a9 Merge branch 'feature/12-jwt-creation' into dev
close #12
2020-12-09 19:01:17 +01:00
philipp 02236caa41 send empty array for user permissions if null
ref #12
2020-12-09 18:46:09 +01:00
philipp 2d603a1467 resolve groups + permissions
ref #12
2020-12-09 18:45:39 +01:00
philipp fcfc10f7d1 phone countrycode validation in env vars
ref #18 #16
2020-12-06 11:21:10 +01:00
philipp 9f7d004c3b Merge branch 'dev' of https://git.odit.services/lfk/backend into dev 2020-12-06 10:48:51 +01:00
philipp 39cefbc593 ⚙ use new config loader
ref #18 ,ref #17
2020-12-06 10:48:25 +01:00
philipp 2cdc91ec83 Merge branch 'feature/18-exported-env-vars' into feature/17-automated_tests 2020-12-06 10:45:15 +01:00
philipp 99d8a0360f 🚚 basic move to config.ts
ref #18
2020-12-06 10:29:56 +01:00
philipp 1748fd4034 Merge branch 'feature/17-automated_tests' of https://git.odit.services/lfk/backend into feature/17-automated_tests 2020-12-05 20:45:38 +01:00
philipp 34567f24c3 test:watch script 2020-12-05 20:45:22 +01:00
philipp def7ca3eb2 🧪tracks.spec.ts - move to baseurl
ref #17
2020-12-05 20:45:06 +01:00
philipp 29acabfca3 🧪tracks.spec.ts - adding + getting + updating tracks
ref #17
2020-12-05 20:32:38 +01:00
philipp 4ff6f8c540 ⚙ nodemon config - ignore tests
ref #17
2020-12-05 20:32:15 +01:00
philipp a671bf8bcb 🚧 tracks.spec.ts - sample track adding + getting
ref #17
2020-12-05 20:19:41 +01:00
philipp 15e3d04215 🚧tracks.spec.ts - check if track was added
ref #17
2020-12-05 20:17:42 +01:00
philipp 07e03ff04e basic track testing
ref #17
2020-12-05 20:11:52 +01:00
philipp 431fd608a6 sample json validation
ref #17
2020-12-05 18:52:36 +01:00
philipp 8ae5cea631 basic jest + typescript support
ref #17
2020-12-05 18:49:09 +01:00
philipp 5c259484ee remove sampletoken generation 2020-12-05 18:02:57 +01:00
philipp 740d7f10f5 remove routes/v1/test 2020-12-05 18:02:49 +01:00
philipp 993096741d Merge branch 'dev' of https://git.odit.services/lfk/backend into dev 2020-12-05 18:00:48 +01:00
philipp 8607af62b5 Merge branch 'feature/12-jwt-creation' of https://git.odit.services/lfk/backend into feature/12-jwt-creation 2020-12-05 17:59:50 +01:00
philipp 76e19ca28d implement proper jwt checking in authchecker
ref #12
2020-12-05 17:59:43 +01:00
philipp e5b605cc55 🧹 cleanups 2020-12-05 17:25:57 +01:00
philipp 8c229dba82 add response schemas to AuthController 2020-12-05 13:40:59 +01:00
philipp 675717f8ca 🚧 starting work on LogoutHandler
ref #12
2020-12-05 13:38:59 +01:00
philipp 0d21497c2f 🚧 AuthController - add proper response schemas 2020-12-05 13:31:46 +01:00
philipp e5f65d0b80 note on refreshtokencount checking
ref #12
2020-12-05 13:30:22 +01:00
philipp 51addd4a31 🚧 RefreshAuth - refresh tokens now working
ref #12
2020-12-05 13:12:47 +01:00
philipp 126799dab9 basic RefreshAuth checking
ref #12
2020-12-05 13:07:33 +01:00
philipp 82f31185a1 🚧 CreateAuth - use proper refreshTokenCount
ref #12
2020-12-05 13:07:18 +01:00
philipp c0c95056bf better errors
ref #12
2020-12-05 13:06:58 +01:00
philipp 093f6f5f78 🚧 UserNotFoundOrRefreshTokenCountInvalidError
ref #12
2020-12-05 12:59:02 +01:00
philipp 2f902755c4 🚧 starting work on RefreshAuth
ref #12
2020-12-05 12:55:38 +01:00
philipp a0fe8c0017 🚧 CreateAuth - basic jwt creation with user details
ref #12
2020-12-05 12:34:07 +01:00
philipp c33097f773 first accesstoken generation
ref #12
2020-12-05 12:28:59 +01:00
philipp 28c2b862f0 🚧 AuthController with multiple endpoints
ref #12
2020-12-05 12:28:43 +01:00
philipp d23ed002b2 🚧 JwtNotProvidedError
ref #12
2020-12-05 12:28:06 +01:00
philipp 1850dd542d 🧹 clean up CreateAuth
ref #12
2020-12-05 11:22:59 +01:00
philipp 2a1b65f424 🚧AuthController - add all Error response schemas to post
ref #12
2020-12-05 11:22:45 +01:00
philipp bd0c7ce042 🚧 CreateAuth - credential validation
ref #12
2020-12-05 11:18:12 +01:00
philipp d46ad59546 🚧 CreateAuth now returns a sample jwt
ref #12
2020-12-05 11:14:26 +01:00
philipp b8bc39d691 🚧 User - mark columns as unique
ref #11 #12
2020-12-05 11:14:06 +01:00
philipp 52dfe83354 Merge branch 'dev' into feature/12-jwt-creation 2020-12-05 11:07:01 +01:00
philipp 6ae0c1b955 first jwt generation
ref #12
2020-12-04 23:03:24 +01:00
philipp 6244c969af integrate UserNotFoundError
ref #12
2020-12-04 23:03:10 +01:00
philipp d803704eee UserNotFoundError
ref #12
2020-12-04 23:02:23 +01:00
philipp a5b1804e19 Merge branch 'dev' into feature/12-jwt-creation 2020-12-04 22:51:57 +01:00
philipp a7854fbe81 CreateUser - remove uuid from params
ref #11
2020-12-04 22:51:44 +01:00
philipp 3e38bc5950 Merge branch 'dev' into feature/12-jwt-creation 2020-12-04 22:48:57 +01:00
philipp 7f3358d284 🚧 User entity - add @Column
ref #11
2020-12-04 22:48:42 +01:00
philipp 92cd58e641 Merge branch 'dev' into feature/12-jwt-creation 2020-12-04 22:45:54 +01:00
philipp 6cb01090d0 working on AuthController + CreateAuth
ref #12
2020-12-04 22:43:41 +01:00
philipp c4b7ece974 class-validator on Auth model
ref #12
2020-12-04 22:34:03 +01:00
philipp c5c3058f3d clean up jwtauth
ref #12
2020-12-04 22:28:17 +01:00
philipp a7afcf4cd1 CreateAuth model
ref #12
2020-12-04 22:19:55 +01:00
philipp f251b7acdb authchecker - use new custom Errors
ref #12
2020-12-04 22:18:54 +01:00
philipp b0a24c6a74 basic Auth model
ref #12
2020-12-04 22:18:40 +01:00
philipp b9bbdee826 🚧 basic AuthErrors 🔒
ref #12
2020-12-04 22:17:03 +01:00
philipp 1f3b312675 🚧 basic JWTAuth Middleware
ref #12
2020-12-04 21:39:55 +01:00
philipp fe46e5d667 - close #14 2020-12-04 21:30:10 +01:00
philipp a7cf86eae4 🚧 CreateUser - add group as object instead of nested array 2020-12-04 19:32:17 +01:00
philipp d4753a02d4 🐞 fixed UserGroupNotFoundError throwing
ref #14
2020-12-04 19:31:10 +01:00
philipp 451d0c92dd trying to fix UserGroupNotFoundError (false/not triggering)
ref #14
2020-12-04 19:02:07 +01:00
philipp b101682e3c CreateUser
ref #14
2020-12-04 18:34:24 +01:00
philipp 3275b5fd80 🚧 UserGroups
ref #14
2020-12-04 18:34:14 +01:00
philipp 5b7f3ae12f 🚧 CreateUser group search + adding
ref #14
2020-12-04 18:02:28 +01:00
philipp d556e9ba19 🚧 UserController
ref #14
2020-12-04 17:56:09 +01:00
philipp 1efca47336 🚧 reference new Errors from CreateUser 2020-12-04 17:55:51 +01:00
philipp 091b455460 🚧 move to uuidV4 2020-12-04 17:53:49 +01:00
philipp a0e6424d48 🚧 better/ more errors
ref #14
2020-12-04 17:53:28 +01:00
philipp ce2c38e188 🔒argon2 password hashing w/ salt
ref #14
2020-12-04 17:25:15 +01:00
philipp ae24c3394b 📏 fit to new structure 2020-12-04 17:10:00 +01:00
philipp acd9a691f8 Merge branch 'dev' into feature/14-user-controllers
# Conflicts:
#	src/models/entities/User.ts
2020-12-04 17:07:34 +01:00
philipp 658009c401 Merge branch 'dev' of https://git.odit.services/lfk/backend into dev 2020-12-04 17:05:41 +01:00
philipp 5e0fcf1f4a 🐞 VSCode formatting broke code by removing all unused 2020-12-04 17:05:13 +01:00
philipp f1629440fe 🚧 better uuid + starting hashing implementation
ref #14
2020-12-04 17:04:33 +01:00
philipp b47fad2c3a Merge branch 'dev' into feature/14-user-controllers 2020-12-04 17:02:15 +01:00
philipp 92bafb0cf4 ⚙ vscode setting - import organize + fix 2020-12-03 20:40:05 +01:00
philipp 8292ec3a1e Merge branch 'dev' into feature/14-user-controllers 2020-12-03 20:33:39 +01:00
philipp a191d8ca2e Merge branch 'dev' into feature/14-user-controllers 2020-12-03 19:00:44 +01:00