MKS-01 / graphql-server

graphql backend practice

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GraphQL Server

GraphQL server for practice.

Apollo Server + Express + PostgreSQL

Concept covers:

  • Apollo Server: Authentication

    • Registration (Sign Up) with GraphQL
    • Securing Passwords with Bcrypt
    • Token based Authentication in GraphQL
    • Login (Sign In) with GraphQL
  • Authorization with GraphQL and Apollo Server

    • GraphQL Authorization on a Resolver Level
    • Permission-based GraphQL Authorization
    • Role-based GraphQL Authorization
    • Setting Headers in GraphQL Playground
  • Apollo Server: Validation and Errors

  • Custom scalars

  • Pagination

    • Offset
    • Cursor-based : Created Date
    • Cursor-based : Page-Info
  • GraphQL Subscriptions

How to Run

Before running update .env in your root directive

DATABASE=
DATABASE_USER=
DATABASE_PASSWORD=

SECRET=

run

npm install && npm start

About

graphql backend practice


Languages

Language:JavaScript 100.0%