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 install
oryarn
. - Create a file named
.env
and fill it with the required environment variables (see.env-example
for an example). - Create a file named
ormconfig.json
and fill it with your credentials (username, password, db etc.; seeormconfig.example.json
for an example). - Run the application using
npm run start
oryarn start