PS. This is really poorly coded and needs a lot of work
To install the required packages, run the following command:
pip install -r requirements.txt
To start the server, run the following command:
Prod:
fastapi run
Dev:
fastapi dev
- P0 Create a database with tables for users, posts, and API keys
- Have a unique identifier for for api keys for each user
- P1 Add signup and login functionality
- Auth flow for signup and login
- Send a token to the client and cache it in the browser
- Cookies?
- P3 Basic UI for the app
- Display user profiles and posts they have made
- Add a post
- Delete a post
- Edit a post