This repository was archived by the owner on Mar 13, 2024. It is now read-only.
Huge rework of core elements! 🍰
Better structure
All main endpoints now in /core directory.
More focus on tests: unit and e2e
It will be good to cover codebase by all possible tests. Main focus now on services (unit) and endpoints (e2e).
Channel and Employee reworked: entities, repositories, more abstractions
Oh, I want to make code more prod ready. Better dev experience in future.
Easy start to develop: PostgreSQL on local docker container
Made docker-compose with basic container. To start use script from package.json:
npm run dev:db
npm run prisma:migrate
npm run prisma:reset # use for DB reset
It will up local DB. In .env use for Prisma connect:
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/food?schema=public"
Super easy solution to make e2e tests:
npm run test:e2e
Prisma migration files
Made init SQL.
Full Changelog: v0.1.5...v0.1.6