Program with Conscience (or PwC) will be the site where we will talk about common programming anti-patterns and pet peeves we commonly encounter, having worked on and reviewed code from several projects.
This site aims to be more than just a styleguide, we try to go above and beyond what ESLint will tell you based on pitfalls we've run into ourselves, reviewing and writing code that powers enterprise applications and getting them to production.
This site is still in progress! We've only dumped our content here (check ./content/dump.md) but we'll soon start organizing it into tagged pages
We're senior node.js developers who work for a company called PwC (ANY similarity to our website name, living or dead, is PURELY coincidental). Combined, we have 15+ years of experience and have experienced our fair share of horror stories and are here to tell you about it.
This project runs on Astro. Make sure you have Node.js installed.
All commands are run from the root of the project, from a terminal:
| Command | Action |
|---|---|
npm install |
Installs dependencies |
npm run dev |
Starts local dev server at localhost:4321 |
npm run build |
Build your production site to ./dist/ |
npm run preview |
Preview your build locally, before deploying |
npm run astro ... |
Run CLI commands like astro add, astro check |
npm run astro -- --help |
Get help using the Astro CLI |
Check out Starlight’s docs, read the Astro documentation, or jump into the Astro Discord server.