Web App for Analyzing Lines of Code + Cost
This project depends on NodeJS v22 (or higher) and scc.
On macOS, these dependencies can be easily installed via Homebrew:
brew install node scc
This project optionally uses Redis for caching. To test the caching locally, you'll need an instance of Redis running.
I find Docker to be a nice tool for this but you can use whatever works best.
The following command starts the necessary containers:
docker compose up -dThese containers can be stopped via:
docker compose downWhen building for production, SvelteKit's adapter-node is used to compile the project into a NodeJS-ready directory.
npm run buildThen, to run the built / compiled version of the project locally, run node directly:
NODE_ENV=development ORIGIN=http://127.0.0.1:3000 node build