Skip to content
generated from cuongndc/graphql-kit

🛸🦍 A Node kit with TypeScript, Express, GraphQL, Sequelize, PostgreSQL and awesome tools.

License

Notifications You must be signed in to change notification settings

cuongndc/graphql-express-kit

Repository files navigation

graphql-express-kit

Hits-of-Code GitHub

🛸🦍 A Node kit with TypeScript, Express, GraphQL, Sequelize, PostgreSQL and awesome tools.

Prepare

How to use?

Update config.ts file (src/components/config.ts)

const config = {
  nodeEnv: process.env.NODE_ENV || 'development',
  port: process.env.PORT || 9000,
  pgHost: process.env.PG_HOST || '127.0.0.1',
  pgPort: (process.env.PG_PORT as number | undefined) || 5432,
  pgDB: process.env.PG_DB || 'postgres',
  pgUser: process.env.PG_USER || 'postgres',
  pgPassword: process.env.PG_PASSWORD || 'postgres',
};

export default config;

Start application

yarn
yarn start:dev

Use with Docker + Docker Compose

cd scripts && ./start.sh

🙌 Awesome

License

MIT © Cuong Tran

About

🛸🦍 A Node kit with TypeScript, Express, GraphQL, Sequelize, PostgreSQL and awesome tools.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages