This is a sample Graphql backend server written in Typescript. The API defined with type-graphql is served with Apollo server and SqlLite database is used with TypeORM to model data.
A very basic functionality of CRUD ing a Book entity is described in this repo. A user can create, read, update and delete book using a graphql api.
Install node
https://nodejs.org/en/
Install yarn
https://classic.yarnpkg.com/en/docs/install#mac-stable
Install the packages, run the below command in your terminal
yarn
To run the server, run the below command in your terminal
yarn start
The graphql-playground client can now be reached at http://localhost:4000