Graphql Ts Server Boilerplate

screenshot of Graphql Ts Server Boilerplate
express

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

Overview

graphql-ts-server-boilerplate is a project that provides a ready-to-use boilerplate for creating a GraphQL server using Typescript, PostgreSQL, and Redis. It allows developers to quickly set up a GraphQL server with various features and functionalities.

Features

  • Register: Users can register with the server by sending a confirmation email.
  • Login: Once registered, users can log in to the server.
  • Forgot Password: Users can request a password reset if they forget their password.
  • Logout: Users can log out of the server.
  • Cookies: The server uses cookies for authentication and session management.
  • Authentication Middleware: Middleware is included to handle authentication.
  • Rate Limiting: The server has rate limiting functionality to prevent abuse.
  • Locking Accounts: Accounts can be locked in case of suspicious or malicious activity.
  • Testing: The project uses Jest for testing purposes.

Summary

graphql-ts-server-boilerplate provides a convenient and ready-to-use solution for setting up a GraphQL server using Typescript, PostgreSQL, and Redis. With features such as registration, authentication, and rate limiting, it offers a solid foundation for building robust GraphQL applications. The installation process is straightforward, allowing developers to get started quickly.

express
Express

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.

graphql
Graphql

A website that uses GraphQL as a query language to manage data fetching and state management. This includes features such as a strongly typed schema, client-side caching, and declarative data fetching to streamline data management and optimize website performance.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.

Yup

Yup is a schema builder for runtime value parsing and validation. It provides a declarative way to define validation schemas with support for complex nested objects, array validation, and custom validation rules. Often used with Formik for form validation.