A graphql typescript server boilerplate with apollo-server, type-graphql and typeorm.
- NodeJS (installation instructions)
- PostgreSQL (installation instructions)
- Redis (installation instructions)
- Ensure that you have the required software installed.
- Clone this repository.
- Install the dependencies using
npm installoryarn. - Create a file named
.envand fill it with the required environment variables (see.env-examplefor an example). - Create a file named
ormconfig.jsonand fill it with your credentials (username, password, db etc.; seeormconfig.example.jsonfor an example). - Run the application using
npm run startoryarn start