项目
在 GitHub 查看
benawad/graphql-ts-server-boilerplate
关于
使用 TypeScript、PostgreSQL 和 Redis 构建的 GraphQL 服务器样板项目
数据与分析可以做什么
- Register - Send confirmation email
- Forgot Password
- Authentication middleware
- Locking accounts
实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文graphql-ts-server-boilerplate
A GraphQL Server boilerplate made with Typescript, PostgreSQL, and Redis
Installation
- Clone project
git clone https://github.com/benawad/graphql-ts-server-boilerplate.git
- cd into folder
cd graphql-ts-server-boilerplate
- Download dependencies
yarn
- Start PostgreSQL server
- Create database called
graphql-ts-server-boilerplate
createdb graphql-ts-server-boilerplate
Add a user with the username
postgresand and no password. (You can change what these values are in the ormconfig.json)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
探索相关项目
加载中…