<aside> 🦉 A good product starts with a good code setup.

</aside>

At CAW, we develop many apps. We like to follow a common set of best practices across all the apps we develop. This playbook describes an opinionated scaffolding that jump-starts projects. This came about due to many commonalities between several of our projects.

Note, the best practices are just recommendations and not unbreakable rules. Context is the King; So always tweak the below recommendations as applicable to your product.

Use ReactJS v17.x or above version

CODEBASE SETUP

Folder Structure

Environment File Setup

Package.json

Versioning

Coding Styling and Linting

Static Code Analysis

Git Commit Hooks

CICD and HOSTING SETUP

PRs and Merge Checks

Hosting

CICD

FRAMEWORK SETUP

Dependency Injection

Logging