···11+We are doing an "ask me anything" app based on AT-proto.
22+33+### Stack
44+We are going to use:
55+- SolidStart as our main framework. Dockerized in production, not in dev.
66+- Postgres as a database, dockerized.
77+- Drizzle as an ORM.
88+- Classic @atproto OAuth
99+- CSS modules only. No Sass, no Tailwind.
1010+1111+### User Flow
1212+- Home '/' is only for logging in as of now. Should redirect to '/:handle' if logged in.
1313+- '/:handle' will :
1414+ - if it's the current page either ask them if they want to open their questions.
1515+ - if it's the current and their questions are opened, show a list of questions, answered or not.
1616+ - If it's not the current user, either "user has not opened their questions" or a list of questions answered or not.
1717+1818+### Data flow
1919+- Both "is questions opened", questions and answers are pushed to the users PDS on top of being stored in db.
2020+- Ingester will put back things in db coming from the atmosphere
2121+- Records in db should have flag marking if they have been "reindexed from atmosphere" or if they are optimistics.