https://github.com/hardyscc/graphql-server
GraphQL Server Sample
https://github.com/hardyscc/graphql-server
Last synced: 2 months ago
JSON representation
GraphQL Server Sample
- Host: GitHub
- URL: https://github.com/hardyscc/graphql-server
- Owner: hardyscc
- Created: 2018-11-20T07:45:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-22T14:07:21.000Z (over 7 years ago)
- Last Synced: 2025-11-30T22:12:01.305Z (7 months ago)
- Language: TypeScript
- Size: 74.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Awesome Project Build with TypeORM
Steps to run this project:
1. Run `npm i` command
2. Setup database settings inside `ormconfig.json` file
3. Run `npm start` command
# start a docker instance of postgres, redis
docker run --name some-redis -p 6379:6379 -d redis
docker run --name some-postgres -p 5432:5432 -d -e POSTGRES_DB=test postgres
# start a command line instance of postgres, redis
docker run -it --rm --link some-redis:redis redis redis-cli -h redis -p 6379
docker run -it --rm --link some-postgres:postgres postgres psql -h postgres -U postgres test