-
Prisma Client
git https://github.com/sho-zy/prisma-apollo-nexus.git
npm install
docker-compose up -d
prisma deploy
-
Apollo App
npm run start
-
Prisma Admin
http://localhost:4466/ -
Apollo Admin
http://localhost:4000/
-
Update and deploy the Prisma Client & the Nexus Prisma.
( execute when you changed./prisma/datamodel.prisma
)prisma deploy
after, you can use the Prisma Admin.
-
Start the Apollo server.
npm run start
after, you can use the Apollo Admin.
- Case when you add tables.
- Add table definition to the following modules.
./prisma/datamodel.prisma
- execute the following commands.
prisma deploy
- edit the resolver (
./src/index.ts
). - execute the following commands.
npm run start
- Add table definition to the following modules.