Skip to content

init: hono & orpc on api#413

Draft
cr1ofox-paralect wants to merge 11 commits intomainfrom
ak/hono-orpc
Draft

init: hono & orpc on api#413
cr1ofox-paralect wants to merge 11 commits intomainfrom
ak/hono-orpc

Conversation

@cr1ofox-paralect
Copy link
Copy Markdown

No description provided.

cr1of0x and others added 11 commits March 23, 2026 15:09
* Methods instead of service functions and handlers with auto register

* Codegen db and auto-create services

* Get rid of auth.service and extra token methods

* Add secureFields to node-mongo; use local node-mongo package for now; get rid of user/getPublic method

* Lint

* Rename account to auth, move getCurrent and updateCurrent to users api

* Use dash-case for file names everywhere

* All methods accept object with params instead of list

* Use @ for referencing absolute directories on api too

* Rename pub,authed,admin isPublic/isAuthorized/isAdmin

* Replaced socketService with socket-server, place to root

* Add isAdmin to user, fix isAdmin middleware to check user.isAdmin, render conditionally in nav

* useCurrentUser hook

* Rename withEntity to shouldExist

* fix: error handling, type

---------

Co-authored-by: Alexey Kasperovich <imbaac@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants