I have several python scripts that parse through large JSON even logs and extract information from them. The parsing may be computationally expensive. The data then needs to be stored in some DB like Postgres before my Next app touches it. I'm not very familiar with Next or Prisma, and this is my first web app.
So far, the pipeline I'm thinking of is: parsing -> insert to DB using SQLAlchemy ORM -> PostgreSQL DB <- Prisma (Next.js queries)
Does this sound good? Also, would you recommend keeping everything in the same folder or keep the Next app and the event log parsing separate?