This can switch NodeJS version to v18.16.0(You should first have NodeJS v18.16.0 installed)
nvm use
This will install all dependencies for the app
pnpm install:all
pnpm frontend
This will run react app at port 3000
This will have postgres and adminer running for the backend
docker-compose up -d
pnpm backend
This will run apollo graphql playground at port 5000
cd backend
pnpm generate
pnpm migrate
you can then use adminer at port 8080, or run
pnpm studio
to open up prisma studio to check whether the data is properly saved