Rpg Boilerplate screenshot

Rpg Boilerplate

Author Avatar Theme by Chadfurman
Updated: 30 May 2019
61 Stars

Relay (React), Postgres, and Graphile (GraphQL): A Modern Frontend and API Boilerplate

Categories

Overview

The RPG Boilerplate is a modern framework designed to help developers, particularly those within the Postgraphile community, kickstart their applications using Relay Modern and GraphQL. This boilerplate serves as a foundation for building fast and modular applications, although it is important to note that this version is outdated and primarily acts as inspiration for future development. An initiative is currently underway to revamp the boilerplate, opening the door for contributions from developers eager to be part of its evolution.

Setting up the RPG Boilerplate requires a few dependencies like Docker Compose, Node, Yarn, and Sqitch. Once installed, developers will find a well-structured environment organized into three main directories: API, frontend, and database, ready to facilitate the creation of robust applications.

Features

  • Modern Architecture: Built on Relay Modern and GraphQL, enabling fast and modular application development.
  • Structured Directories: Clearly organized into /api, /frontend, and /db, making it easy to navigate and manage the codebase.
  • Shared Components: The shared folder contains reusable UI elements, ensuring a consistent look and feel across the application.
  • Real-Time Features: Equipped with JWT management for authentication during API transactions, enhancing security and performance.
  • Web Server Support: Supports server-side rendering (SSR) for the frontend, improving the user experience and SEO capabilities.
  • Migration Management: Offers a structured path for database migrations with clear deployment and rollback processes through Sqitch integration.
  • Environment Configuration: Simplified setup process for environmental secrets, allowing for quick configuration adjustments.

Overall, RPG Boilerplate is an excellent resource for developers looking to dive into modern web application development, with a community-driven approach to ongoing improvement.