GraphQL Typescript codebase containing real world examples (graphql, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.
This codebase was created to demonstrate a fully fledged fullstack application built with Node, GraphQL, Typescript including graphql mutations and queries, authentication, pagination, and more.
We've gone to great lengths to adhere to the Node, GraphQL, Typescript community styleguides & best practices.
For more information on how to this works with other frontends/backends, head over to the RealWorld repo.
Project build with:
- typescript
- apollo-server
- typeorm
- type-graphl
- Developing and releasing with Docker containers
- CI/CD - travis-ci
- Hosting - Heroku
Tips
- You can change env variables inside
envdev
folder
Tests
- example test is located in
./server/src/resolvers/User.test.ts
- Install docker and docker-compose
- In folder root run
docker-compose up
- Go to url logged in terminal