Skip to content

secmohammed/graphql-typescript-server-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  • JWT
  • Authentication middleware
  • Rate limiting
  • Locking accounts
  • Tested using Jest.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors