Backing up project Advice

Hi

I am working on a Ionic Capacitor project. And i am now introducing a version controlled repository and would like to know what folders would i need to back up and what folders i can avoid to save space. This is my folder structure.

There should be a default .gitignore at the top level of your project folder that does a decent job of dealing with this.