-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: accounts progress; use bun for the api server; #111
base: master
Are you sure you want to change the base?
Conversation
biome removes required imports
nice |
looking good! |
3db4a9b
to
ab63653
Compare
and remove client side code for that
so it's okay for /profile to return items already unlocked by default.
turning this into a draft again cuz i want to add the tables for the stats/leaderboard and add google as an auth provider |
I don't think I can get to the conflicts today, so feel free to resolve them. |
rebasing rn |
i think we should be consistent about api keys on config or env |
I think we should keep all secrets in the .env file and the config for game related stuff, but whatever option is fine honestly. |
ye i think .env is the best |
server side not implemented yet
…ir own separate table
are the files on server/src/api/db/drizzle supposed to be committed? |
553f781
to
9763954
Compare
It's recommended, yes. |
ig we can at least add the folder to biome ignore so it stops trying to format it lmao |
Endpoints
/api/profile/
/api/username/
/api/loadout/
/api/logout/
/api/delete/
/api/auth/
/api/set_item_status/
/api/unlock/
Minimal guide
Accounts are optional, set
accountsEnabled
tofalse
inconfig.ts
to disable them.If disabled, you can skip these steps.
worth skimming over https://orm.drizzle.team/docs/migrations#migrations