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
Before running update .env in your root directive
DATABASE=
DATABASE_USER=
DATABASE_PASSWORD=
SECRET=
run
npm install && npm start