I'm the co-founder of Tetrahex (Full Stack + DevOps developer).
It's a small group of skilled full-stack developers developing and delivering web app since 2015.
Started our journey with Ruby on Rails and ReactJS. With the time, also worked on angularJS/angular2...12 and NodeJS. Focused to deliver application with up-to-date best practices coding standards with Test Driven Development.
- Configure Typescript environment.
- Migrate all JS files to TS files.
- De-structure
server.tsfile into mini-apps. ( using express.Router)- create routes folder and each file has it’s own mini-app ( express.Router ).
- controllers folder should have corresponding controller file for business logic.
- Convert mongoose models to TS with JSDoc/TSDoc comments.
- By achieving all of above^^, codebase is ready to generate swagger API using tsoa package.
- Use JOI package for param validations in api routes. ( provide validations in utils folder ).
- Configure pipeline for linting and testing.
Note: All of the above new packages I mentioned are active and widely accepted by dev community.



