Skip to content

React 16+ starter kit for ES6+ Browsers (Typescript, Prettier, React Router, GraphQL, CSS Modules, VS Code)

Notifications You must be signed in to change notification settings

kimmelsg/react-starter

Repository files navigation

react-starter

React 16+ starter kit (Typescript, React Router, GraphQL, VS Code)

This is a starter kit that has jest testing, prettier, typescript, react router, and full VS Code integration. On commit, prettier, typescript, and jest tests that are changed will be ran.

Setup

Edit get-types script inside package.json to point to your graphql api and run the command to pull down your schema and generate types.

Start

Clone the repo and docker-compose up

...or use VS Code, have node installed:

  • npm install.
  • Open VS Code, in the debugger tab, start Server / Browser.

The app is now running in Chrome. Any errors will be shown on the correct line in your editor.

Develop

Start adding views to the views folder and get going!

Build for production

npm run build

About

React 16+ starter kit for ES6+ Browsers (Typescript, Prettier, React Router, GraphQL, CSS Modules, VS Code)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published