This repository is a example to reproduce prisma-binding's issues #275 #252 #215
- node.js
- docker with docker-compose
- Clone this repository
git clone https://github.com/leosuncin/prisma-binding_exists-bug.git
- Install dependencies
yarn install
ornpm install
- Create file .env with environmental variables
cp .env.example .env
- Customize environmental variables, edit .env file
- Run containers
docker-compose up -d
- Deploy Prisma
yarn db:deploy
ornpm run db:deploy
- Run the server
yarn debug
ornpm run debug
- Clean up the database
docker-compose down -v && sleep 3 && docker-compose up -d
- Restore database and fixtures
yarn db:deploy
ornpm run db:deploy
- Run functional tests
yarn test
ornpm test
You can debug the application with Visual Studio Code, already includes the settings launch.json