TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: JSON storage bins with schema validation

74 pointsby azirbelabout 7 years ago

7 comments

azirbelabout 7 years ago
Hi HN! This is a side project I&#x27;ve been working on for a while now.<p>It&#x27;s similar to <a href="https:&#x2F;&#x2F;jsonbin.io" rel="nofollow">https:&#x2F;&#x2F;jsonbin.io</a> (which was an inspiration!), but focuses on the second step of prototyping with data - once you&#x27;re editing JSON online, how do you make sure you don&#x27;t break your app? npoint.io lets you enforce a structure using JSON schema (<a href="http:&#x2F;&#x2F;json-schema.org" rel="nofollow">http:&#x2F;&#x2F;json-schema.org</a>).<p>More background info: <a href="http:&#x2F;&#x2F;alexzirbel.com&#x2F;npoint" rel="nofollow">http:&#x2F;&#x2F;alexzirbel.com&#x2F;npoint</a><p>Also, it&#x27;s open source! <a href="https:&#x2F;&#x2F;www.github.com&#x2F;azirbel&#x2F;npoint" rel="nofollow">https:&#x2F;&#x2F;www.github.com&#x2F;azirbel&#x2F;npoint</a><p>All feedback is super welcome. Also happy to answer any questions here.
评论 #16916176 未加载
评论 #16917818 未加载
koolbaabout 7 years ago
Looks nice. Having the immediate &quot;Click here&quot; that leads into the edit page with the double paned edit window is particularly cool.<p>Watch out with providing a hosted version of something like this with totally untrusted user input. JSON schema allows for arbitrary regexes for field validation which means a malicious user could easily bring down the site with a nasty regex[1]. Not a concern for anything privately hosted but sadly there are plenty of jerks in the world.<p>[1]: <a href="https:&#x2F;&#x2F;www.owasp.org&#x2F;index.php&#x2F;Regular_expression_Denial_of_Service_-_ReDoS" rel="nofollow">https:&#x2F;&#x2F;www.owasp.org&#x2F;index.php&#x2F;Regular_expression_Denial_of...</a>
评论 #16915987 未加载
zerktenabout 7 years ago
&quot;Once a bin is locked, it cannot be deleted and none of its data can ever be changed.&quot;<p>I can understand why there is good reason for the data to never change, but if your product gets popular, or you are unlucky, then this could turn out to be a bad design choice i.e. Bob copies and pastes data containing customer PII in instead of the data they meant to include.<p>An option for data to be deleted, even if it&#x27;s after multiple prompts, or a streamlined support flow.
评论 #16916515 未加载
andrenotgiantabout 7 years ago
interesting - If I understand it right, I ran into a possible use-case for n:point recently...<p>I was building a pretty simple charting app that used React and Redux, so the structure of a chart was 100% defined via a JSON &quot;state&quot;.<p>I didn&#x27;t want to bother with a server so I just stored the state in browser localstorage.<p>BUT when I put the app online via static hosting, I needed to give users a way of deeplinking to and sharing a diagram they created.<p>Could I use n:point via API to set and get json state and then add your identifiers in an anchor tag like:<p><a href="http:&#x2F;&#x2F;my-static-chart-app.com&#x2F;#4aed7cea56ece156c705" rel="nofollow">http:&#x2F;&#x2F;my-static-chart-app.com&#x2F;#4aed7cea56ece156c705</a>
评论 #16916486 未加载
bausabout 7 years ago
Interesting idea. I read your blog post on the project, and understand your point on user management. I&#x27;ve hit the same stumbling block with projects I&#x27;ve been working on -- too much time spent on user management. There seems to be few off-the-shelf solutions for writing user management for SPAs and everyone recreates the wheel.
poboabout 7 years ago
neat, i like the design. Just wondering how would you monetize such an app. maybe you can add ads here and there.
评论 #16915949 未加载
tathougiesabout 7 years ago
Random question... where did you get the art you used to make the website? Did you do it yourself?
评论 #16917188 未加载