News for hackers. Stuff that matters.
Re:Show HN: Amplication – Instantly Generate Node.js Apps wi... by gfrangakis on Tuesday January 12, 2021 @02:01PM (#25751682)
I'm curious - is there a tool handles solely the "frontend codebase generation" part of this? This looks great, but we already have a well-defined backend and REST API built using Python+FastAPI, with SQLAlchemy as an ORM and Postgres backing it. I am not a good UI/UX designer, but I understand and have built React applications, so really find myself looking for something that can take an OpenAPI.json spec and produce a hackable frontend codebase that follows best practices.
Re:Show HN: Amplication – Instantly Generate Node.js Apps wi... by iaml on Tuesday January 12, 2021 @04:18PM (#25753844)
React-admin[0]? Doesn't read openapi from what I could gather but solves similar problems in a best-practicey kind of way.

[0] https://marmelab.com/react-admin/Readme.html

Re:Show HN: Amplication – Instantly Generate Node.js Apps wi... by gfrangakis on Wednesday January 13, 2021 @09:48AM (#25762600)
I had seen this a while ago but should take a fresh look at it - it seems like there should be a community tool that generates data providers from an openapi spec. Thanks!
Re:Show HN: Amplication – Instantly Generate Node.js Apps wi... by muttantt on Tuesday January 12, 2021 @02:08PM (#25751801)
Are you using SQLAlchemy in a blocking way w/ FastAPI?
Re:Show HN: Amplication – Instantly Generate Node.js Apps wi... by gfrangakis on Tuesday January 12, 2021 @04:22PM (#25753905)
I believe so - basically following the vanilla SQLAlchemy integration guide they have [0], and not trying to await query results as they do in the the async guide [1]

[0] https://fastapi.tiangolo.com/tutorial/sql-databases/ [1] https://fastapi.tiangolo.com/advanced/async-sql-databases/