graphql-ts-server-boilerplate

A GraphQL server boilerplate made with Typescript, PostgreSQL, and Redis

Github星跟踪图

graphql-ts-server-boilerplate

A GraphQL Server boilerplate made with Typescript, PostgreSQL, and Redis

Installation

  1. Clone project
git clone https://github.com/benawad/graphql-ts-server-boilerplate.git
  1. cd into folder
cd graphql-ts-server-boilerplate
  1. Download dependencies
yarn
  1. Start PostgreSQL server
  2. Create database called graphql-ts-server-boilerplate
createdb graphql-ts-server-boilerplate
  1. Add a user with the username postgres and and no password. (You can change what these values are in the ormconfig.json)

  2. Install and start Redis

Usage

You can start the server with yarn start then navigate to http://localhost:4000 to use GraphQL Playground.

Features

  • Register - Send confirmation email
  • Login
  • Forgot Password
  • Logout
  • Cookies
  • Authentication middleware
  • Rate limiting
  • Locking accounts
  • Testing (probably Jest)

Watch how it was made

Playlist: https://www.youtube.com/playlist?list=PLN3n1USn4xlky9uj6wOhfsPez7KZOqm2V

主要指标

概览
名称与所有者benawad/graphql-ts-server-boilerplate
主编程语言TypeScript
编程语言TypeScript (语言数: 2)
平台
许可证
所有者活动
创建于2018-04-22 14:17:29
推送于2019-07-28 01:45:11
最后一次提交2018-08-17 18:55:37
发布数0
用户参与
星数698
关注者数18
派生数179
提交数39
已启用问题?
问题数25
打开的问题数14
拉请求数4
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?