Magento structure instructions
1. For modules, use app/code
2. For frontend – storefront templates, use app/design/frontend
3. For backend – admin templates, use app/design/adminhtml
4. For language packages, use app/i18n
Database config kept in: app/etc/env.php