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