Is appropriate to use nodejs and typescript to make a service that is not an API or web application? Currently, I'm making a service who periodically read emails attachments and send the attachments to another app, save info about the emails in db etc.. It's working good, but i can't find in the internet examples of structure of a non-web app with typescript
What you think? I know it is possible because I have already done... But is appropriate? Do you have some examples where I can check? Cant find in GitHub either, I don't know how to call an app like this
Sounds like you have a CLI tool?
Maybe these repos could give you some help with structure/practices:
https://www.google.com/search?q=most+popular+node+js+cli+tools
https://www.npmjs.com/search?q=cli
Typescript is an excellent choice for one-off scripting and CLI tools IMO.