Activity

Yoid

enforced some rules in the service layer and also the db schema, and made sure the ui is perfect so i can start working on the next step, which is table management and then fields and all those yada yada (literally the important stuff), ill start with the service layer XD

0
Yoid

FRONTEND, omg that was so HARD to make ;-; especially after what happened today, well, i made the dashboard page, next ill work on some backend stuff that i have to fix lol

Attachment
Attachment
0
Yoid

made the dashboard yay
it can create bases, and refresh, ig, but hey
bc im rusty, my functions are blazingly fast hehe 3-youssef

Attachment
Attachment
0
Yoid

fixed the redirect btn! (bc before it used leptos’s /auth instead of axums)
also used private cookies instead of public cookies as well for session tokens, and also used sha512 instead of argon2 bc silly me, argon2 has constant time duh

Attachment
0
Yoid

finally fixed the login button, and i realised how much of a skill issue i am especially at byts->String part, i was using some weird methods but then switched to base 64, oh and also some silly stuff lol, but yeah, it IS WORKING WOOOOOOHOOOOOO

Attachment
0
Yoid

worked on the ui! its still basic, but i worked on the ui, cookies login, and stuff like that, i use a rust ui library (wow there is a ui lib in rust), i used it and its pretty great, also rate the epic art

Attachment
0
Yoid

i just fixed a bug where core replaced rust’s core pf, had to replace with libc

Attachment
1

Comments

Adi
Adi 24 days ago

Nice

Yoid

so bc im silly, i had to rewrite the project again bc i didnt started planing for what ui framework im going to use, i chosen leptos wich give fine grained reactivity that i needed (yeah im parano hehe), now i can start on the ui, i also added tailwindcss, now the only thing i have to do is to start making a figma and then make the ui hehe

Attachment
0
Yoid

reworked the db architecture, now there is no need for a workspace and a workspace user! i started working on the functions to interact with the base and the tables, and soon ill start a ui! (that was late ;-;)

Attachment
0
Yoid

was working on the service layer, i did some functions and enhanced error handling, and also did some benchmarks and its pretty gud for now

Attachment
0
Yoid

added user register and user update functions

Attachment
Attachment
Attachment
0
Yoid

worked on the service part and also migrated to surrealdb 3.0.0 (that was a hard work) but yeah now we have login, im gonna work on register and those other function :pf:, for now it only auth the user using a hc id or a session token , in this example we had to use ip, user_agent and token to authentify the user

Attachment
0
Yoid

well, gonna work again on this, for now i worked on the models part, a bit of planing for the service part (the part that interacts with the db and has the security measures) and yeah, also wrote some surql but i dont think it got hackatimed since i logged off hc ¯_(ツ)_/¯

Attachment
0
Yoid

alr, so i worked on the models, there is all the models needed, im rn working on the service part, wich is a set of functions to create/delete/update/read tables but using strong types so everything should be secure, i might also make some idiomatic permissions if my brain let me do it but now, the step one is done

Attachment
0
Yoid

forgot to devlog lol, so im updating it everytime i see some changes in the docs, i dont rly remember what i changed here, i was so overwhelmed with exams and a bug i found on the other project im working on, but here is the devlog

Attachment
0
Yoid

so i finished the auth part, might make everything more secure using more types, but now ill finally start the real stuff, ima start working on the DATA part, and try to make it modular so i can easly make an automation part etc

Attachment
1

Comments

toponerld
toponerld 4 months ago

damnn

Yoid

forgot to make a devlog lol, so i defined the tables, started learning surrealdb, and uh, im using axum this time, now im working on the auth part, using hca ofc, but there is still a bug related to cookies that im trying to fix sob

Attachment
0
Yoid

surprisingly just edited the readme, dang how did i forgot that lol

Attachment
0
Yoid

made a example website using rocket (crazy aah hours reading documentation sob) the link od the repo is in the demo link , dont forget to get ur client id and client secret if u wanna try it, nest is apparently down so i cant rly host this sob

Attachment
0
Yoid

so i made some functions to interact with HCA, bc writing the urls by hand will make me do silly mistakes

Attachment
0