Repo to learn about using TypeScript, TypeGraphQL, TypeORM, Express, and Sessions
- PostgreSQL installed
- Redis installed
- 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
- Start the server (defaults to http://localhost:4000)
yarn start
- Visit the GraphQL Studio and start using the queries/mutations
- Use `yarn
- Project uses a fractal directory structure, idea from here