other info we want to include in the video description:
social media handles
custom text
Overall flow:
Pick a file format to store settings on disk
JSON is probably easiest
Create said file manually with some sample data
Add a file in repos as well as a service in services. The repo should allow reading/writing a key-value pair to the file directly. The service should call the repo function to read/write settings, without caring about how that happens.
Include a TypeScript interface detailing the available settings (the type should probably go in the models directory but I don't think we need a whole class here, just an interface.
Add an API endpoint that allows updating the settings, using the previously created service.
Add an API endpoint to read settings, again using the service. It is probably fine to return all the settings at once and let consumers parse into it.
We need a place to store settings and other information required to upload data. This might include:
Overall flow:
repos
as well as a service inservices
. The repo should allow reading/writing a key-value pair to the file directly. The service should call the repo function to read/write settings, without caring about how that happens.models
directory but I don't think we need a whole class here, just an interface.