Important! Ts.ED requires Node >= 10, Express >= 4 and TypeScript >= 3.
Example project using Ts.ED framework, Apollo GraphQL and TypeOrm
See Ts.ED project for more information.
1. install dependencies
$ yarn install
2. docker services (postgres db)
$ docker-compose build
$ docker-compose up
3. serve
$ yarn start
4. Go to http://localhost:8083/graphql
1. install dependencies
$ yarn install
2. docker services (postgres db)
$ docker-compose build
$ docker-compose up
3. run integration tests
$ yarn test
NOTE: Graphql playground not available in production mode
1. build
$ yarn install
$ yarn build
2. docker services
$ docker-compose build
$ docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
3. graphql server ready in http://localhost:8083/graphql
NOTE: Remember to stop docker containers if testing locally