This is the companion github repo for the How to build your first SaaS article.
A minimal foundation upon which you can putter your first full-stack application. 🚣
💞 Server and client are already setup
🌼 Lighter footprint than CRA on your machine
🎄 Preact(alternatively, I suggest Sinuous which doesn't use virtual dom)
📼 Supports IE11
⛳ Serves ES modules(less code shipped) to modern browsers
🎷 Use the web platform as much as possible(e.g. Not using SCSS. Leverage standard CSS with PostCSS)
Clone this repo,
git clone https://github.com/kilgarenone/boileroom.git
Then enter the directory of the repo:
cd boileroom
Then 'npm install'. This will install npm packages of client and server too.
npm install
When the npm install is done, we can now start our full-stack development environment. At the root,
npm run dev
- Client will be at localhost:8008
- Server is at localhost:4000
🌄
"Why not just use create-react-app
etc. though?"
Although they are great for one-off prototype and to "move fast and break things", they have hidden cost in terms of complexity and obfuscation, both of which limit user's sense of control, personal responsiblity, and understanding as long as they stay within the happy paths.
But we are building a garden that we intend to putter while comporting ourselves with the greatest autonomy and rectitude possible, rather than with a false sense of security.