npm run server
in corporator directory to launch application at port 3000npm run luis
in corporator directory to start component catalogue at port 9001snapshot-spy-monitor
directory run npm start
BPMN marvel
yarn remove @zeit/next-typescript, next, next-images, babel-plugin-styled-components, @types/next
rm next.config.js
rm .babelrc
apollo-codegen introspect-schema ./src/data/generated/prisma.graphql --output schema.json apollo-codegen generate */.schema.graphql --schema schema.json --target typescript --output operation-result-types.ts
or
apollo schema:download schema.json --endpoint=http://localhost:4000 apollo codegen:generate types --outputFlat --queries="src/data/*/client/.graphql" --schema schema.json --target typescript
I have the snake casing in types As a result we will have to manually modify the type in 'apollo-codegen-typescript/lib/language.js'
nameFromScopeStack(scope) {
return scope.map(s => s[0].toUpperCase() + s.substring(1)).join('');
}
docker exec -it prisma_mysql_1 /bin/bash
mysql -u root -p [password is prisma]
SET global general_log_file='/tmp/global.log';
SET global general_log = on;
SET global log_output = 'file';
exit
tail -f -n10 /tmp/global.log