How to minify Strapi project for production

My guy that can’t work the best thing is to put your whole project in a git hub directory and then use Heroku or any software like that to host the backend