28d2ddad31
👔 change response format
...
Changing from write response to read response because the client must receive data in the form of jwt from the backend.
2025-08-30 10:21:04 +07:00
305e38bd45
🚧 (wip) testing with return context
2025-08-29 22:31:18 +07:00
8fe4757b56
👔 adding name capitalization to the provider
2025-08-26 10:45:58 +07:00
e79712a60c
🔧 change github provider icon
2025-08-26 10:43:44 +07:00
60aafc6933
✏️ fix typo
...
fixed typo in google req_endpoint config
2025-08-25 22:26:50 +07:00
112f5188ed
✨ add throttle middleware
...
Create throttling on middleware to pause requests until a specified time before continuing. (default time 2s)
2025-08-24 14:02:28 +07:00
7e8b5be6cd
👔 create list for oauth providers
...
create list and endpoint to see avaiable oauth providers.
2025-08-24 10:42:36 +07:00
5cce8eea9f
🗃️ create dbml generator
...
Generate dbml from the Prisma schema when executing the command `bunx prisma generate`. The dbml can be used to
visualize the ERD using the dbdiagram.io website.
2025-08-24 07:03:18 +07:00
8abf3d3818
👔 (oauth) add callback URI option for google
...
Adding a callback option to the Google OAuth provider used to define the OAuth callback URI. If not defined, the
callback URI will use the default value in the .env file.
2025-08-14 23:43:16 +07:00
3df1f342fc
👔 (oauth) add callback URI options
...
provides the option to define a callback URI following a request from the frontend; if not defined, it will
automatically use the backend's default URI.
2025-08-13 18:51:10 +07:00
89ebfb8aa4
🔒 add app access token middleware
...
Create a middleware app access token, so that all requests must include `access_token` in the header with a value equal
to API_KEY in the .env file. If not, a `403 Forbidden` error will be returned.
2025-08-13 11:26:57 +07:00
c1adb767e7
📝 create documentation for user provision and authentication
2025-08-13 11:13:19 +07:00
1ebcc8d21d
👔 set redis cache and jwt encode
...
Set session data in Redis to reduce load on the main database and increase the speed of JWT token validation.
2025-08-13 10:48:48 +07:00
6bdd5b6468
🚩 create user session when provision
...
create a user session after provisioning authentication if the account has been created previously.
2025-08-12 23:59:06 +07:00
27769773af
🔧 change "exists" parameter to "exist"
...
Change the parameter “exists” to “exist” in the verbosity of find user.
2025-08-12 18:32:13 +07:00
a8a57ecce3
👔 change not found user logic
...
return false instead of returning the “not found” error if the verbosity parameter is “exists”.
2025-08-12 18:29:57 +07:00
5d79ffd055
🚩 add provision flow in oauth
...
Create a flow where if the user logs in with a registered Google account, they are immediately authenticated, but if no
account is found, create a new one.
2025-08-11 22:54:31 +07:00
7ce0e44389
📝 creating inline documentation
2025-08-11 00:15:16 +07:00
2ccb95e50f
🏷️ add type for after handle auth
2025-08-10 23:55:32 +07:00
8e584ff14e
📝 add google credentials into example env
2025-08-08 22:41:29 +07:00
ac0b25fb62
🏗️ separate http and internal service
...
separate between internal and http service due security concern in auth module
2025-08-07 23:07:53 +07:00
0d71710b14
✨ add new oauth provider
...
add google idconnect as new auth provider
2025-08-06 15:31:24 +07:00
419b5b0ae4
✨ create oauth login
...
Create authentication with oAuth using a third-party vendor. Currently, only GitHub is available, but more will be added
in the future.
2025-08-05 17:11:36 +07:00
88257d0eee
🏷️ change include option when getting user data
2025-07-28 11:22:08 +07:00
f2649c6d92
🚩 add file assets getter
...
create helper and boiler controller for get assets from object storage
2025-07-23 22:17:48 +07:00
95d85545cd
✨ create startup process
...
create a startup process before the main elysia process starts. aims to check the main program such as env check and so on.
2025-07-22 10:14:14 +07:00
945caca728
⚗️ add minio lib
...
add minio lib for storing file in file system as bucket storage
2025-07-21 15:21:37 +07:00
a6571461db
👔 add create user role
2025-07-21 00:57:33 +07:00
e60bf0fd3e
👔 create boilerplate for user role module
...
add a few boilerplate including get by id and name for user role module
2025-07-20 22:21:48 +07:00
5c6e072622
👔 add include option on find user repository
...
add include option for spicify which associated data that want to retrive along with user data response
2025-07-20 15:06:38 +07:00
6de6028a40
💚 minor fix
2025-07-19 09:54:54 +07:00
e8b27eecb2
💚 (merge build process)
2025-07-19 00:20:08 +07:00
4c54749a41
💚 merge 2 job to 1
2025-07-19 00:18:38 +07:00
8068c9a701
✏️ fix character in CI
2025-07-18 23:56:09 +07:00
b9e71e80c7
💚 add log message for debug
2025-07-18 23:54:06 +07:00
866bebe3b0
💚 make script link to inline
2025-07-18 23:46:16 +07:00
5608a37d9d
✏️ fix typo in CI scripts
2025-07-18 23:37:59 +07:00
065e2d18a3
💚 edit ci config
...
change CI rule to only run if tag applied instead of "push to main" rule
2025-07-18 23:36:35 +07:00
8532d7e104
🚚 create backup folder
...
create backup folder for archive the old modules
2025-07-18 23:20:15 +07:00
8eb68cf0ba
💚 fix CI script
...
add route syncronization before compiling
2025-07-18 23:04:28 +07:00
0353c180e7
👷 create CI script for gitlab
2025-07-18 23:00:24 +07:00
31f97ef6bd
💡 create documentation for main find user service
2025-07-18 22:42:41 +07:00
d98f1cb9c6
👌 create verbosity level
...
creating verbosity for specify what data that will fetch from user data
2025-07-18 22:35:34 +07:00
b5c4fc56a0
♻️ refactoring find user service
2025-07-18 22:09:46 +07:00
16b1674356
🚩 complete get user method
...
adding find user by emial, username, and ID
2025-07-18 17:45:48 +07:00
9bc1b592d0
🚩 create basic flow for fetching user data
2025-07-17 23:20:00 +07:00
30806e23e0
💥 add basic fetch user via email
2025-07-17 18:36:06 +07:00
ea96d160bd
♻️ (user) separate http and internal service
...
make branch folder between http and internal service, witche http service for serve request from controller and internal
service serve request from another service
2025-07-17 11:06:04 +07:00
8bcde5518a
🧑💻 create zod error instance in helper
2025-07-17 00:05:35 +07:00
29b76fb91a
🏗️ reconstruct all system in user module
2025-07-16 23:42:13 +07:00