Development
Pictshare Book is setup as a monorepo, to make setup easier and facilitate type sharing between packages.
It currently just includes the two main packages you would expect:
To make development easier, we use docker-compose to run the postgres and redis database as well as an s3 compatible storage service called MinIO.
Commands
Here are a few useful commands (for a complete list, see the package.json):
bun install: Install dependenciesbun run db: Run database services (postgres, redis, minio)bun run generate: Generate Prisma clientbun run setup: Run all setup commands and setup .env filesbun run test: Run all testsbun run check: Run the linter and formatter
Code Quality
To ensure code quality and maintainability we use the following: