zsevic / upis-server

GraphQL API for Upis

Home Page:https://upis.herokuapp.com/graphql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

upis-server

GraphQL API for Upis

See demo: https://upis.herokuapp.com/graphql

Features

  • GraphQL queries, mutations and subscriptions
  • Node.js with Express and Apollo Server
    • cursor-based pagination
  • PostgreSQL database with Sequelize
    • entities: users, faculties, departments
  • Authentication
    • powered by JWT
    • sign in
  • Authorization
    • protected endpoint (verify valid session)
    • protected resolvers (session-based, permission-based, role-based)
  • Performance optimizations
    • Batching
  • API testing
  • Eslint setup
  • Git hooks for commit

Setup

git clone https://github.com/zsevic/upis-server
cd upis-server
cp .env.sample .env # change values
npm i
npm run dev

Build

npm run build
npm start

Testing

npm test

Documentation

Technologies used

  • Node.js, Express, Apollo, PostgreSQL

About

GraphQL API for Upis

https://upis.herokuapp.com/graphql

License:MIT License


Languages

Language:JavaScript 100.0%