Commit Graph

131 Commits

Author SHA1 Message Date
Reinaldy Rafli 9a84b801c9
test: proper unit tests 2022-09-03 20:13:04 +07:00
Reinaldy Rafli 3d7e1dd077
feat: rewritten the most part of it 2022-09-03 17:53:46 +07:00
Reinaldy Rafli 215a160205
Merge pull request #13 from WahidinAji/master
I'm joking btw :D
2022-05-14 07:07:46 +07:00
Cakrawala 1fa40945d0
Update joke_total.go
deleted strconv package is never used
2022-05-11 21:48:41 +07:00
Cakrawala ac29cf1c6b
Update setter.go
lol, I forgot to import the strconv package in the last commit
2022-05-11 21:47:53 +07:00
Cakrawala b56b8ab0ac
Update setter.go
convert int to string
2022-05-11 21:35:14 +07:00
Cakrawala 94fbc0d32e
Update joke_total.go
change to string(total)
2022-05-11 21:30:44 +07:00
Reinaldy Rafli 7ea79bf6a9
hotfix: wrong boolean logic 2021-11-20 21:40:43 +07:00
Reinaldy Rafli e59d7649de
Merge pull request #12 from aldy505/api/bump 2021-11-09 11:21:51 +07:00
Reinaldy Rafli 32f104a008
chore: bump dependencies 2021-11-09 10:57:17 +07:00
Reinaldy Rafli d1597f3c02
ci: fix yarn 2021-11-09 00:10:12 +07:00
Reinaldy Rafli 64ef0c19d8
ci: fix failing tests 2021-11-09 00:08:06 +07:00
Reinaldy Rafli 9175fc2ea3
Merge pull request #9 from aldy505/api/refactor
Refactor API and better SQL connection pooling
2021-11-08 23:46:24 +07:00
Reinaldy Rafli 9d22f9696a
test: wrong logic 2021-11-08 23:02:01 +07:00
Reinaldy Rafli 843f1d77c3
fix: fixing up some logic 2021-11-08 22:55:07 +07:00
Reinaldy Rafli 955313b45e
ci: update github actions 2021-11-08 22:40:17 +07:00
Reinaldy Rafli 05120c23ab
test: added more tests 2021-11-08 19:39:29 +07:00
Reinaldy Rafli a308c0a7a2
style: nitpicking on semicolons 2021-11-08 17:01:43 +07:00
Reinaldy Rafli 9f593cd19b
test(wip): opening up connection with db 2021-11-08 16:58:41 +07:00
Reinaldy Rafli 8c235623c5 test: new cases for validator and joke pkg 2021-11-07 00:45:18 +07:00
Reinaldy Rafli 483a042ccb
refactor: configuring context and moving logic to its designated directory 2021-11-01 19:32:33 +07:00
Reinaldy Rafli 31652fb3ab
refactor: directory structure 2021-10-30 10:24:53 +07:00
Reinaldy Rafli 521734246e
ci: abandon test for now 2021-10-18 15:31:32 +07:00
Reinaldy Rafli c18a81a7aa
refactor: move everything to their own packages 2021-10-18 15:31:17 +07:00
Reinaldy Rafli 729e4c039d
test: moved all test to a single test file for integration testing 2021-09-28 16:08:15 +07:00
Reinaldy Rafli 5db8f60066
test: removed hanging test on ci 2021-09-28 14:57:58 +07:00
Reinaldy Rafli c3af2c9bf0
chore: update golang version 2021-09-28 14:56:11 +07:00
Reinaldy Rafli 9c497b81aa
fix: method complexity 2021-09-28 13:34:02 +07:00
Reinaldy Rafli fad708e08d
chore: running formatter 2021-09-28 11:29:54 +07:00
Reinaldy Rafli ae11ee7ed8
fix: verification cleanup 2021-09-28 11:29:39 +07:00
Reinaldy Rafli a5c665fe4f
fix: sql transactions 2021-09-27 20:02:58 +07:00
Reinaldy Rafli cf28bf4213
fix: adjusting database transactions 2021-09-27 17:10:19 +07:00
Reinaldy Rafli 685b316ce9
ci: limiting actions to 15 minutes 2021-09-27 02:14:03 +07:00
Reinaldy Rafli cf0b53e52d
refactor: better dependency injection method 2021-09-27 02:13:38 +07:00
Reinaldy Rafli 27c0c82b40
Merge pull request #8 from aldy505/api/submit
Let people submit their jokes to the API
2021-08-04 17:22:27 +07:00
Reinaldy Rafli b6788b33c6 style: chained function line breaks 2021-08-04 17:14:33 +07:00
Reinaldy Rafli e38f36c579 fix: correct status code 2021-08-04 17:08:06 +07:00
Reinaldy Rafli 79a8dccd9c test: refactor & clean up 2021-08-04 17:05:58 +07:00
Reinaldy Rafli 98c15d2e6d chore: codefactor changes 2021-08-04 16:46:48 +07:00
Reinaldy Rafli e3e178087c perf: caching certain routes 2021-08-04 16:03:53 +07:00
Reinaldy Rafli c0f817722d docs: swagger/openapi documentation 2021-08-04 15:52:18 +07:00
Reinaldy Rafli 8f570f99db test: refactor and add submit test 2021-08-04 12:56:14 +07:00
Reinaldy Rafli c265da52a1 feat: joke submission 2021-08-04 09:51:22 +07:00
Reinaldy Rafli 9d9311e90c feat: generate random string for ID usage 2021-08-04 01:15:35 +07:00
Reinaldy Rafli 84cfab08ef refactor: moving each routes to new directory 2021-08-04 01:14:32 +07:00
Reinaldy Rafli 84cc35eb10 chore: updated github link 2021-07-28 12:52:00 +07:00
Reinaldy Rafli f3465325b6 chore: updated github link 2021-07-28 12:51:39 +07:00
Reinaldy Rafli 8163a91b32 chore: codefactor suggestions 2021-07-23 22:39:23 +07:00
Reinaldy Rafli 7454a18369 Merge branch 'master' of github.com:aldy505/jokes-bapak2-api 2021-07-23 22:05:10 +07:00
Reinaldy Rafli 600385b96e fix: validation didnt run properly 2021-07-23 22:03:04 +07:00