Skip to content

Feature: GraphQL service for Fastify server with Prisma ORM#1

Open
gentoosiast wants to merge 27 commits intomainfrom
develop
Open

Feature: GraphQL service for Fastify server with Prisma ORM#1
gentoosiast wants to merge 27 commits intomainfrom
develop

Conversation

@gentoosiast
Copy link
Copy Markdown
Owner

@gentoosiast gentoosiast commented Jul 21, 2023

Feature: GraphQL service for Fastify server with Prisma ORM

  1. Task: https://github.com/AlreadyBored/nodejs-assignments/blob/main/assignments/graphql-service/assignment.md
  2. Done 24.07.2023 / deadline 25.07.2023
  3. Score: 360 / 360

Installation

Use Node.js LTS version (18.17.0 at the time of writing)

  1. Install dependencies: npm ci
  2. Create .env file (based on .env.example): ./.env
  3. Create db file: ./prisma/database.db
  4. Apply pending migrations: npx prisma migrate deploy
  5. Seed db: npx prisma db seed

Testing

  1. npm run test-queries
  2. npm run test-mutations
  3. npm run test-rule
  4. npm run test-loader
  5. npm run test-loader-prime

Basic Scope

  • +144 1.1 npm run test-queries
  • +90 1.2 npm run test-mutations
  • +18 2.1 npm run test-rule
  • +80 3.1 npm run test-loader
  • +28 3.2 npm run test-loader-prime

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant