All Projects → kriasoft → React Starter Kit

kriasoft / React Starter Kit

Licence: mit
React Starter Kit — front-end starter kit using React, Relay, GraphQL, and JAM stack architecture

Programming Languages

javascript
184084 projects - #8 most used programming language
typescript
32286 projects
HTML
75241 projects

Projects that are alternatives of or similar to React Starter Kit

Graphql Starter
💥 Monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, and Material UI.
Stars: ✭ 3,377 (-83.96%)
Mutual labels:  graphql, babel, boilerplate, hackathon, material-ui, cloudflare, starter-kit, relay
React App
Create React App with server-side code support
Stars: ✭ 614 (-97.08%)
Mutual labels:  graphql, webpack, babel, boilerplate, ssr, relay
relay-starter-kit
💥 Monorepo template (seed project) pre-configured with GraphQL API, PostgreSQL, React, Relay, Material UI.
Stars: ✭ 3,513 (-83.32%)
Mutual labels:  relay, hackathon, material-ui, cloudflare, starter-kit
Project Webcube
Continuously updated JS infrastructure for modern web dev
Stars: ✭ 141 (-99.33%)
Mutual labels:  graphql, webpack, babel, boilerplate, starter-kit
Veluxi Starter
Veluxi Vue.js Starter Project with Nuxt JS and Vuetify
Stars: ✭ 39 (-99.81%)
Mutual labels:  i18n, boilerplate, ssr, material-ui, starter-kit
React Starter Kit
React, Redux, Webpack, Material UI, Boostrap 4, Code Splitting, HMR
Stars: ✭ 229 (-98.91%)
Mutual labels:  webpack, babel, boilerplate, starter-kit
React Firebase Starter
Boilerplate (seed) project for creating web apps with React.js, GraphQL.js and Relay
Stars: ✭ 4,366 (-79.27%)
Mutual labels:  graphql, boilerplate, ssr, relay
Ssr Sample
A minimum sample of Server-Side-Rendering, Single-Page-Application and Progressive Web App
Stars: ✭ 285 (-98.65%)
Mutual labels:  graphql, webpack, babel, ssr
Rpg Boilerplate
Relay (React), Postgres, and Graphile (GraphQL): A Modern Frontend and API Boilerplate
Stars: ✭ 62 (-99.71%)
Mutual labels:  graphql, webpack, ssr, relay
Webpack Starter
✨ A lightweight foundation for your next webpack based frontend project.
Stars: ✭ 1,745 (-91.71%)
Mutual labels:  webpack, babel, boilerplate, starter-kit
Relay Fullstack
☝️🏃 Modern Relay Starter Kit - Integrated with Relay, GraphQL, Express, ES6/ES7, JSX, Webpack, Babel, Material Design Lite, and PostCSS
Stars: ✭ 986 (-95.32%)
Mutual labels:  graphql, boilerplate, relay, scaffolding
Electron React Boilerplate
A Foundation for Scalable Cross-Platform Apps
Stars: ✭ 18,727 (-11.08%)
Mutual labels:  webpack, babel, boilerplate, starter-kit
Js Library Boilerplate
Javascript Starter Boilerplate - Webpack 4, Babel 7, UMD, Hot Reloading, and more
Stars: ✭ 202 (-99.04%)
Mutual labels:  webpack, babel, boilerplate, starter-kit
Typescript Webpack React Redux Boilerplate
React and Redux with TypeScript
Stars: ✭ 182 (-99.14%)
Mutual labels:  webpack, babel, flux, boilerplate
Iceberg
Front-End Boilerplate built with React + Babel + Webpack + SASS
Stars: ✭ 144 (-99.32%)
Mutual labels:  webpack, babel, boilerplate, starter-kit
Serverless Prisma
AWS Serverless Prisma Boilerplate
Stars: ✭ 126 (-99.4%)
Mutual labels:  graphql, webpack, babel, boilerplate
Reactql
Universal React+GraphQL starter kit: React 16, Apollo 2, MobX, Emotion, Webpack 4, GraphQL Code Generator, React Router 4, PostCSS, SSR
Stars: ✭ 1,833 (-91.3%)
Mutual labels:  graphql, webpack, ssr, starter-kit
Static Site Boilerplate
A better workflow for building modern static websites.
Stars: ✭ 1,633 (-92.25%)
Mutual labels:  webpack, babel, boilerplate, starter-kit
Koa React Isomorphic
Boilerplate for Koa & React
Stars: ✭ 128 (-99.39%)
Mutual labels:  webpack, boilerplate, ssr, relay
Tkframework
react + relay + redux + saga + graphql + webpack
Stars: ✭ 83 (-99.61%)
Mutual labels:  graphql, webpack, babel, relay

React Starter Kit

The web's most popular front-end template for building web applications with React, Relay, and GraphQL.

Features

  • Optimized for serverless deployment to CDN edge locations (Cloudflare Workers)
  • HTML page rendering (SSR) at CDN edge locations, all ~100 points on Lighthouse
  • Hot module replacement during local development using React Refetch
  • Pre-configured with CSS-in-JS styling using Emotion.js
  • Pre-configured with code quality tools: ESLint, Prettier, TypeScript, Jest, etc.
  • Pre-configured with VSCode code snippets and other VSCode settings
  • The ongoing design and development is supported by these wonderful companies:

    


This project was bootstrapped with React Starter Kit. Be sure to join our Discord channel for assistance.

Directory Structure

├──.github — GitHub configuration including CI/CD workflows
├──.vscode — VSCode settings including code snippets, recommended extensions etc.
├──common — common (shared) React components
├──core — core modules and utility functions
├──dialogs — React components implementing modal dialogs
├──fragments — common (shared) Relay fragments
├──hooks — React hooks such as useLocation(), useCurrentUser(), etc.
├──icons — custom icon React components
├──menu — React components implementing popup menus
├──public — static assets such as robots.txt, index.html etc.
├──routes — application routes and page (screen) components
├──scripts — automation scripts such as yarn deploy
├──theme — application theme - colors, fonts, paddings, etc.
├──workers — Cloudflare Worker scripts (reverse proxy, SSR)
├──config — client-side application settings per environment
└──index.ts — application entry point

Tech Stack

Requirements

Getting Started

  • Clone the repo
    git clone -o seed -b main --single-branch https://github.com/kriasoft/react-starter-kit.git
  • Install project dependencies — yarn install
  • Launch the app — yarn start, it will become available at http://localhost:3000

IMPORTANT: Ensure that VSCode is using the workspace versions of TypeScript and ESLint.

Scripts

  • yarn start — Launches the app in development mode on http://localhost:3000
  • yarn update-schema — Update GraphQL API schema by running an introspection query
  • yarn relay — Updates GraphQL fragments used in the code
  • yarn build — Compiles and bundles the app for deployment
  • yarn lint — Validate code using ESLint
  • yarn tsc — Validate code using TypeScript compiler
  • yarn test — Run unit tests with Jest, Supertest
  • yarn deploy — Deploys the app to Cloudflare

How to Deploy

Ensure that client-side application settings for test (QA) and prod (production) environments are up-to-date found in the config.ts file, as well as Cloudflare account credentials found in the .env file:

# Cloudflare
# https://dash.cloudflare.com/
# https://developers.cloudflare.com/api/tokens/create
CLOUDFLARE_ACCOUNT_ID=
CLOUDFLARE_ZONE_ID=
CLOUDFLARE_API_TOKEN=

Compile and deploy the app by running:

$ yarn build
$ yarn deploy [--env #0]

Where --env argument is the target environment, e.g. yarn deploy --env=prod.

How to Update

  • yarn set version latest — Bump Yarn to the latest version
  • yarn upgrade-interactive — Update Node.js modules (dependencies)
  • yarn pnpify --sdk vscode — Update TypeScript, ESLint, and Prettier settings in VSCode

Contributors 👨‍💻

              

Backers 💰

              

Related Projects

How to Contribute

Anyone and everyone is welcome to contribute. Start by checking out the list of open issues marked help wanted. However, if you decide to get involved, please take a moment to review the guidelines.

License

Copyright © 2014-present Kriasoft. This source code is licensed under the MIT license found in the LICENSE file.


Made with by Konstantin Tarkus (@koistya, blog) and contributors.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].