GitXplorerGitXplorer
a

ts-graphql-example

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.

No commits found

There are no commits on branch main.

README

The README file for this repository.

TypeScript GraphQL Backend Example

Repo to learn about using TypeScript, TypeGraphQL, TypeORM, Express, and Sessions

Prerequisites

  • PostgreSQL installed
  • Redis installed

Installation & Setup

  • Install project dependencies

yarn install

  • Create a database with PostgreSQL:

createdb example-db

  • Create an ormconfig.json file, see ormconfig-example.json for an example

  • Create your own .env file, see .env.example for an example

Usage

yarn start

  • Visit the GraphQL Studio and start using the queries/mutations

Tests

  • Use `yarn

Notes

  • Project uses a fractal directory structure, idea from here