2d8a50889819e9c2f497d2c74959d9e1871b320f
Use resetFields so validation state clears without re-triggering required rules on an empty address.
NullCart
Self-hosted crypto shop with clearnet (HTTPS) and Tor onion hosting.
For production deployment, see the deployment guide.
Development
Start dev environment
# Create and edit .env.dev as needed
cp .env.example .env.dev
# Build and start docker containers
docker compose --env-file .env.dev -f docker-compose.dev.yml build --no-cache
docker compose --env-file .env.dev -f docker-compose.dev.yml up --force-recreate
Install npm packages for code editor visibility
cd backend && npm i && cd ../cms && npm i
Database operations (run from inside container)
docker exec -it <container_name> /bin/sh
Running the migration
npm run typeorm:run-migrations
Generating the migration
npm run typeorm:generate-migration --name=<migration_name>
Reverting the last migration
npm run typeorm:revert-migration
Seeders
npm run typeorm:create-migration --name=<migration_name>
Tests
Backend unit tests
cd backend && npm run test
Languages
TypeScript
76%
Vue
17.1%
Handlebars
3.1%
CSS
2.3%
Shell
0.7%
Other
0.7%