News for hackers. Stuff that matters.
Re:APIs in less than 5 minutes with Strapi by numlock86 on Wednesday March 11, 2020 @03:57AM (#22543979)
What is up with the scrolling on that page? It totally bugs out for me. I expect some JS stuff running in the background that thinks it's smarter than my standard browser behavior. Makes it almost unreadable. Chrome 80 btw.
Re:APIs in less than 5 minutes with Strapi by emmelaich on Wednesday March 11, 2020 @05:34AM (#22544362)
Also, why doesn't cmd+click open link (e.g. jamstack) in new tab, but right-click (double-tap, menu, open in new tab) does?

Macos obviously, but same has applied to this and other sites on Windows with equivalent key shortcuts.

Re:APIs in less than 5 minutes with Strapi by afloatboat on Wednesday March 11, 2020 @06:04AM (#22544499)
They've added an eventListener that intercepts left clicks on anchor tags so they can add a fadeout, but they don't account for modifier keys (CMD/CTRL) changing the default behaviour. The context menu ignores this.
Re:APIs in less than 5 minutes with Strapi by emmelaich on Friday March 13, 2020 @04:43AM (#22565730)
Thanks, good info.
Re:APIs in less than 5 minutes with Strapi by rlp on Wednesday March 11, 2020 @04:10AM (#22544033)
Same, janky scrolling in Chrome and Firefox.
Re:APIs in less than 5 minutes with Strapi by pictur on Wednesday March 11, 2020 @03:57AM (#22543973)
strapi is a very good tool. but I don't think most of its features are suitable for production. it seems to be progressing in a continuous experimental state.
Re:APIs in less than 5 minutes with Strapi by cerberusss on Wednesday March 11, 2020 @04:02AM (#22544003)
What did you try to build with it? In how far did that succeed? And did you find a better alternative?

As an app developer, this looks pretty great. I can just click together a backend and don't have to futz around in PHP or Python.

Re:APIs in less than 5 minutes with Strapi by vSanjo on Wednesday March 11, 2020 @05:23AM (#22544308)
I'll throw in my 2c. It was my first adventure into a Node.js CMS and used MongoDB for it's database. I'm a Javascript and Frontend Developer.

I've found it chaotically buggy - that is, sometimes it's great, amazing, works as expected and other times it simple fails quietly and in such a way I can't reverse easily - chaotic.

Saving changes to fields is hit-and-miss. Anything 'metadata'-related towards fields is a scary thing now. We use it for a particularly lightweight project but I wish we didn't after experiencing it enough now.

Note: I'm aware of its status, I still think they consider themselves 'alpha' and the developer that chose this was aware of the risks.

Re:APIs in less than 5 minutes with Strapi by cerberusss on Wednesday March 11, 2020 @11:54AM (#22546806)
Thanks a lot!
Re:APIs in less than 5 minutes with Strapi by johnzhou on Wednesday March 11, 2020 @05:56AM (#22544472)
They still don't have a way to separate administrators from editors in the backend. I found Directus to be a good alternative for headless CMS.
Re:APIs in less than 5 minutes with Strapi by cerberusss on Wednesday March 11, 2020 @11:54AM (#22546811)
Sounds good, will have a look!
Re:APIs in less than 5 minutes with Strapi by ben-gee on Wednesday March 11, 2020 @05:06AM (#22544255)
APIs in less than 5 minutes with Chalice
Re:APIs in less than 5 minutes with Strapi by VvR-Ox on Wednesday March 11, 2020 @06:37AM (#22544624)
Thank you but not thanks!

This is another step into the AMZN hell where many and their data will be held hostage decades from now if they only rely on their services.

They kill FOSS business models and try to lure you into their vendor locked world to milk you.

I prefer using e.g. Flask to build an API in <5min.

Re:APIs in less than 5 minutes with Strapi by winrid on Wednesday March 11, 2020 @04:36AM (#22544139)
This whole jamstack thing really took off fast. It's nothing new, but the internet is better with it ...