Home
Softono

Graphql Ts Server Boilerplate

Open source TypeScript
696
Stars
174
Forks
14
Issues
17
Watchers
7 years
Last Commit

 About Graphql Ts Server Boilerplate

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

Platforms

Web Self-hosted

Languages

TypeScript

Links

Need Help Installing Graphql Ts Server Boilerplate?

We provide expert installation service for this software. Our team will install, configure, and secure Graphql Ts Server Boilerplate on your server. plans start at just $30.

Graphql Ts Server Boilerplate

View on 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