Nodejs Graphql Template

screenshot of Nodejs Graphql Template
express
prisma

Opinionated starter template for NodeJS based GraphQL Server with prisma used at Fueled.

Overview

The Fueled NodeJS GraphQL starter template offers a robust foundation for developers looking to kickstart their projects using NodeJS and TypeScript. With an emphasis on modern coding standards and best practices, this template is designed to streamline the development process for building GraphQL applications. Although it has been marked as deprecated in favor of NestJS for future projects, it still contains valuable elements for those who require a solid introduction to GraphQL in a NodeJS environment.

From advanced testing capabilities to integrated caching solutions, this starter kit provides a comprehensive package that meets the demands of contemporary application development. It is particularly beneficial for teams focused on building scalable and maintainable solutions in a collaborative setting.

Features

  • TypeScript Support: Fully harnesses the benefits of TypeScript, providing type safety and improving overall code maintainability.
  • ExpressJS Integration: Utilizes ExpressJS to create a flexible and powerful server framework for handling requests and middleware.
  • Apollo Server: Seamlessly integrates Apollo Server with express, enabling the construction of powerful and efficient GraphQL APIs.
  • Prisma ORM: Simplifies database operations and management with Prisma, allowing for easy database integration and migrations.
  • Testing Framework: Supports Jest for unit and E2E testing, ensuring that your code runs as expected and remains bug-free through changes.
  • Code Formatting & Linting: Incorporates ESLint for code quality and Prettier for formatting, promoting a consistent code style across the project.
  • Docker Support: Comes with a pre-configured Dockerfile for effortless containerization, making deployment and development easier across different environments.
  • JWT Authentication: Provides a framework for implementing JWT-based authentication, complete with essential services for token management and verification.
express
Express

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

prisma
Prisma

Prisma is a server-side library that helps developers read and write data to the database in an intuitive, efficient and safe way.

fullstack
Fullstack

A fullstack boilerplate provides a starter application that includes both frontend and backend. It should include database, auth, payments, user roles and other backend services to build a fully featured saas or webapps.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

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.