Github Actions With Hasura And Docker

screenshot of Github Actions With Hasura And Docker
nestjs
react

Template Integrations Testing CI on GitHub Actions - Hosted & Self-Hosted, Docker-Compose, Hasura/Postgres, Nestjs, React

Overview

If you're diving into continuous integration with GitHub Actions, this sample CI repository provides an excellent foundation. This template showcases how to set up a robust CI pipeline using containerized Hasura/Postgres within an Nx Monorepo, specifically tailored for a NestJs project. With clear instructions and configurations, it simplifies both GitHub Hosted and Self-Hosted options, making it a versatile choice for developers seeking to enhance their CI/CD workflow.

The repository not only features a comprehensive setup guide but also allows users to implement environment variables and access GitHub's powerful API seamlessly. Whether you're new to CI or looking to refine your existing process, this setup can cater to your needs while providing the flexibility of a self-hosted option.

Features

  • Comprehensive CI Template: A pre-configured GitHub Actions pipeline that allows you to kickstart your CI journey quickly and efficiently.
  • Supported by Nx Monorepo: Designed to work within an Nx Monorepo environment, ensuring modular and organized project structure.
  • Containerized Solution: Utilizes Docker and Docker-Compose to create isolated environments for Hasura/Postgres, streamlining dependency management.
  • Flexible Hosting Options: Choose between GitHub Hosted and Self-Hosted solutions, allowing for greater adaptability based on project needs.
  • Customizable Environment Variables: Easily configure CI environment variables via GitHub Secrets, enhancing security and manageability.
  • Automatic Token Management: The ability to programmatically retrieve GitHub agent tokens, easing the manual steps typically required for self-hosting.
  • Clear Setup Instructions: Detailed steps for setting up dependencies and configuring your environment ensure a smooth implementation process.
  • Well-Structured Workflows: Sample workflows highlighting best practices in CI/CD, helping users adopt effective methodologies with ease.
nestjs
Nest

A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

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.

hasura
Hasura

Hasura is a GraphQL engine that provides instant, realtime GraphQL APIs over your databases. It offers built-in authorization, event triggers, and remote schemas to help developers build scalable GraphQL backends without writing any backend code.

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.