GraphQL API for Upis
See demo: https://upis.herokuapp.com/graphql
- 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
git clone https://github.com/zsevic/upis-server
cd upis-server
cp .env.sample .env # change values
npm i
npm run dev
npm run build
npm start
npm test
npm run dev
- open http://localhost:8080/graphql and click on
schema
- Node.js, Express, Apollo, PostgreSQL