hellobagus / tsxserver

React, Typescript and Graphql, Apollo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Installation

  1. Clone project

  1. cd into folder

  1. Download dependencies
yarn
  1. Start PostgreSQL server
  2. Create database called tsmaster
createdb graphql-ts-server-boilerplate
  1. 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

About

React, Typescript and Graphql, Apollo


Languages

Language:TypeScript 99.0%Language:JavaScript 1.0%