This is the start to converting the server code to Typescript and refactoring to reduce repetitive code. Let me know what your thoughts are on converting to typescript. I think it would make maintaining this code much, much easier and will help prevent bugs from appearing during runtime. This could make it easier to add the expansion packs as well. If this gets merged, then the goal would be to convert the front end to typescript as well for similar reasons.
This is the start to converting the server code to Typescript and refactoring to reduce repetitive code. Let me know what your thoughts are on converting to typescript. I think it would make maintaining this code much, much easier and will help prevent bugs from appearing during runtime. This could make it easier to add the expansion packs as well. If this gets merged, then the goal would be to convert the front end to typescript as well for similar reasons.