My notes/ebook "Foundations of String Theory" is available at the GitHub repository https://github.com/xiyin137/stringbook. This is an evolving document and will continue to be updated, along with mathematica codes for checking various calculations.