Git Product home page Git Product logo

graphql-typescript-starter's Introduction

React Node GraphQL TypeScript - Starter Kit

As I was bootstraping a webapplication I created this starter kit for my use. The technology stack of this kit is collection of all coolatest technologies which I want to use in my web application.

To get started

To get started using the kit follow following steps:

Repo cloning and setup:
  1. Clone the git repo.
  2. cd client followed by yarn
  3. cd server followed by yarn
DB setup:
  1. createuser myuser --password;
  2. createdb myapp;
  3. Connect to the DB psql myapp and run grant all privileges on database myapp to myuser;
Starting development servers:

To start client server in development mode:

  1. cd client
  2. yarn start

To start server iin development mode:

  1. cd server
  2. yarn run watch
  3. yarn run serve

Libraries used

Following libraries / utilities have been used in the repo:

Client
  1. ReactJS: 15.6.1
  2. Typescript: 2.4.2
  3. TSLint: 5.6.0
  4. react-apollo: 1.4.14
  5. react-router: 4.1.2
  6. styled-components: 2.1.2
  7. jest: 20.0.3
  8. enzyme: 2.9.1
  9. prettier: 1.5.3
Server
  1. NodeJS: 7.5.0
  2. Express: 4.15.4
  3. apollo-server-express: 1.1.0
  4. Typescript: 2.4.2
  5. TSLint: 5.6.0
  6. db-migrate: 0.10.0-beta.23
  7. graphql-tools: 1.2.1
  8. prettier: 1.5.3
  9. mocha: 3.5.0
  10. chai: 4.1.1

References:

  1. https://github.com/Microsoft/TypeScript-React-Starter
  2. https://github.com/Microsoft/TypeScript-Node-Starter
  3. https://github.com/facebook/jest/blob/master/examples/typescript

graphql-typescript-starter's People

Contributors

jpuri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

graphql-typescript-starter's Issues

connection issue

i kept getting this error after some time from the server side.

Error: read ECONNRESET
at _errnoException (util.js:1003:13)
at TLSWrap.onread (net.js:620:25)
error Command failed with exit code 1.

any hint? thanks

no title

很少看到像你这样的女程序员。

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.