Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 690 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 690 Bytes

tsgraphql-starter

Star Wars API ported to GraphQL with TypeScript, TypeGraphQL, and Apollo Server.

Setup

The dev/test cycle uses nodemon to restart the server when it detects any file changes.

npm i
npm run watch

DotEnv

By default, the server will run on localhost:80. To modify, you need to create a .env file at the root of the project with the following entries:

#.env
PORT=8080
HOSTNAME="demo.com"

This will run the demo at http://localhost:8080

More GraphQL Resources