type-graphql-series icon indicating copy to clipboard operation
type-graphql-series copied to clipboard

Typescript GraphQL Server built with TypeGraphQL

type-graphql-series

Code for: https://www.youtube.com/playlist?list=PLN3n1USn4xlma1bBu3Tloe4NyYn9Ko8Gs

Installing

  1. Clone and install dependecies
git clone https://github.com/benawad/type-graphql-series.git
cd type-graphql-series
yarn
  1. Make sure you have PostgreSQL running on your computer with a database called typegraphql-example and a user who has access to that database with the username postgres and password postgres
  • Mac: https://www.codementor.io/engineerapart/getting-started-with-postgresql-on-mac-osx-are8jcopb
  • Windows: https://www.guru99.com/download-install-postgresql.html
  • Docker: https://www.youtube.com/watch?v=G3gnMSyX-XM
  • Linux: you know what you're doing
  • How to create a user: https://medium.com/coding-blocks/creating-user-database-and-adding-access-on-postgresql-8bfcd2f4a91e
  1. Make sure you have Redis running on your computer
  • Mac: https://medium.com/@petehouston/install-and-config-redis-on-mac-os-x-via-homebrew-eb8df9a4f298
  • Windows: https://redislabs.com/blog/redis-on-windows-10/
  • Linux: you know what you're doing
  1. Start the server
yarn start

To verified it worked, you can go to http://localhost:4000

If you need any help setting this up feel free to message me on Discord: https://discord.gg/Vehs99V