Closed jamesh48 closed 3 months ago
🎉 Thanks for your contribution! ☺️ Your code looks great, and I appreciate the thoroughness of your work. The refactoring you implemented in TypeScript is well done, and I have reviewed everything. I'm happy to approve it for merging. 🚀 Thanks again for your valuable contribution 😄
You are welcome! I appreciate the collaboration as well. This is my first open source PR so I appreciate you bringing me along. Remember, for the deployment you will need to invoke npm run build before npm start.
@jamesh48 Once again thanks for your contribution😊. The server is live now with your code🚀.
@jamesh48 Once again thanks for your contribution😊. The server is live now with your code🚀.
It's running the dev script directly, I'm not sure how you have your ci/cd configured but you would probably get a very modest performance improvement if you first compiled the typescript into javascript using the npm run build
command, and then npm start
. The purpose of typescript is more for the developer experience as opposed to actually running typescript code in production
@jamesh48 codebase is running on a free tier server and npm run build
available for paid version only. So I could not do anything 😔
available
There's a hack we can leverage, I have it in the new PR
"prestart"
When invoking npm run start the prestart script will run automatically to build the code
Managed to refactor the project to use typescript, and also added a single test to hopefully get more of.