Code for: https://www.youtube.com/playlist?list=PLN3n1USn4xlma1bBu3Tloe4NyYn9Ko8Gs
- Clone and install dependecies
git clone https://github.com/benawad/type-graphql-series.git
cd type-graphql-series
yarn
- 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 usernamepostgres
and passwordpostgres
- 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
- 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
- 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