Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/benawad/type-graphql-series
Typescript GraphQL Server built with TypeGraphQL
https://github.com/benawad/type-graphql-series
graphql postgresql redis typegraphql typescript
Last synced: about 11 hours ago
JSON representation
Typescript GraphQL Server built with TypeGraphQL
- Host: GitHub
- URL: https://github.com/benawad/type-graphql-series
- Owner: benawad
- Created: 2019-01-08T01:43:13.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-20T09:58:01.000Z (over 2 years ago)
- Last Synced: 2024-12-16T02:05:26.506Z (8 days ago)
- Topics: graphql, postgresql, redis, typegraphql, typescript
- Language: TypeScript
- Size: 157 KB
- Stars: 325
- Watchers: 12
- Forks: 129
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```
2. 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-8bfcd2f4a91e3. 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 doing4. Start the server
```
yarn start
```
To verified it worked, you can go to http://localhost:4000If you need any help setting this up feel free to message me on Discord: https://discord.gg/Vehs99V