Open comments for this post
Woah, quick update! The API is almost finished!! I added endpoints for missions (list, info, and projects attached) and guides, some generated tests and the pr is ready… I think! The list in the doc is so large I would have to zoom out even further to show you the full (sidebar on the left).
Open comments for this post
Helllo there! I am still working on the api and added a few things:
- followed?, liked? for projects, users and posts
- endpoints to follow, like and repost (quotes maybe coming soon or maybe not because i cant find the code for it?? loll)
- shop items, item, orders and order
- a guard, so guest accounts (without hca connected) cant generate a key (bacause it would bypass the website rules)
- and i dont remember exactly what else since the last devlog…
I have set up a dev end for you to test the api on and it will (hopefully) update with every commit I push. Its available on https://6767.67.pl.eu.org . Test it using /dev_login/[id from 2 to 50] (it can be a little slow, but please dont blow up my server) (also, rate domain). Also the pr # is 224!!!!!!!
Open comments for this post
Hellllllo!
Today I was rethinking the structure and while at it, I was getting more and more ideas on what to add to the API. I am planning search with filters, shop (i mean it kind of already is there), actions like like/follow/repost, comments, and many more and thought…. it is quite a big api if i want to all of that. and with the current structure (i mean /me/projects separate from /user/:id/projects and stuff) it would probably get even more messy in the future. So i decided to switch to a standard REST api structure!!! More on that later, and while you wait, feel free to watch a timelapse of me designing the draft of the app’s home page (it will be completely different probably anyway)! See ya!
Open comments for this post
Helllllo again yall :hyper-blahaj-spinning:! (im patiently waiting for that feature btw)
Since the last devlog, I worked a bit on two more endpoints in the /me resource. Now you can also get and edit user profile info from the api! :yay: I also copied the docs_controller.rb from flavortown and wrote some basic info about how the api functions in the openapi docs page and I found this cool space-y theme! Now im going to continue working on more endpoints and hopefully get /user(s) or /project(s) working! I hope I will not have to rewrite everything because of some change in the repo because the commits are coming very very fast and im not even keeping up with rebasing them into my branch…
Also, I saw that @zrl followed the project, and Im curious if its the real Zach or if someone stole his username, so if The real Zach Latta please stand up, i mean please write a comment or something idk :)) see ya in the next devlog
Open comments for this post
I started working on the api. Everything is a lil broken now, so is my api field in settings :)) (also dont try to steal the kay cuz its from localhost)