1.0.1 • Published 3 years ago

@lucasgobatto/create-graphql-server v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

CREATE-GRAPHQL-SERVER

Creates a GraphQL server with TypeScript and TypeORM.

Includes

  • Docker setted up with PostgreSQL;
  • User Entity:
    • Name, E-mail, Password and Phone Number;
  • Queries and Mutations:
    • createUser, login, getOneUser and getManyUsers;
  • Input Validation;
  • Crypto Password;
  • Authentication with Token;
  • Error Handlers;
  • Environment Variables;

Installation

Using npm:

$ npm i -g create-graphql-server
$ npm i --save create-graphql-server

Usage

Run for global install:

$ create-graphql-server project-name

Or run npx:

$ npx create-graphql-server project-name

Within project folder:

$ npm install
$ npm run dev

This will create a directory and clone the GraphQL-API repository.

Bugs or Issues?

Open an issue into issues section on repository.

Want to Help?

Open a pull request here.

Based on create-express-api.