Giter Site home page Giter Site logo

skylinezum / brainstrike-typescript-starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from seandearnaley/brainstrike-typescript-starter

0.0 0.0 0.0 5.31 MB

Full stack starter kit for TypeScript(Node.js + React.js) + Apollo GraphQL w/ Apollo Client 3 + TypeORM

License: MIT License

JavaScript 2.40% TypeScript 96.05% HTML 0.98% CSS 0.23% Shell 0.34%

brainstrike-typescript-starter's Introduction

brainstrike-typescript-starter

Node Server Test CI Node Client Test CI

Starter kit for Node.js + Typescript + React.js + Apollo GraphQL + TypeORM

Features

  • Typescript Node + React
  • Apollo GraphQL (apollo-client 3.0)
  • TypeORM w/ testing connections (Docker-Compose Postgres + GitHub Actions)
  • GraphQL Code Generator
  • Material UI
  • Unit/Integration/E2E tests
  • React client with Hooks
  • Prettier + ESLint configuration

Detailed Installation + Instructions to come.

NOTE: VS Code settings for ESLint+Prettier (consequence of mono repo structure)

"eslint.workingDirectories": [ "./client", "./server" ]

Prerequisites

Tested with Node 12+, Postgres 11+ required for database. Docker-compose provided for Postgres. Should be easy to adapt examples to other databases... may update database support in future versions.

Folders

This is setup like a mono-repo with seperate folders for clients and server, each with their own package and config. You could set these up in their own repos, switch to each folder to start the respective packages.

  • client = Material UI based React TypeScript (create-react-app non ejected), using GraphQL Code Generator for hooks + TypeScript Types. Apollo Client 3.0.

  • server - Apollo Server using GraphQL Code Generator for resolvers + types. Using TypeORM for database access, working examples of relay style cursor pagination, unit, integration and e2e tests.

brainstrike-typescript-starter's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar seandearnaley avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.