https://github.com/cuongndc9/graphql-kit
🍣 A Node kit with TypeScript, GraphQL, Sequelize, PostgreSQL and awesome tools.
https://github.com/cuongndc9/graphql-kit
103cuong apollo-server docker graphql graphql-kit node node-kit sequelize typescript
Last synced: 8 months ago
JSON representation
🍣 A Node kit with TypeScript, GraphQL, Sequelize, PostgreSQL and awesome tools.
- Host: GitHub
- URL: https://github.com/cuongndc9/graphql-kit
- Owner: cuongndc9
- License: mit
- Created: 2020-05-24T18:08:30.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2025-07-04T18:25:03.000Z (8 months ago)
- Last Synced: 2025-07-04T19:34:11.498Z (8 months ago)
- Topics: 103cuong, apollo-server, docker, graphql, graphql-kit, node, node-kit, sequelize, typescript
- Language: TypeScript
- Homepage:
- Size: 232 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# graphql-kit
[](https://hitsofcode.com/view/github/103cuong/graphql-kit)
[](https://github.com/103cuong/graphql-kit/blob/master/LICENSE)
🍣 A Node kit with TypeScript, GraphQL, Sequelize, PostgreSQL and awesome tools.
## Preparation
- [Node](https://nodejs.org/en/)
- [Yarn](https://yarnpkg.com/)
- [Docker](https://www.docker.com/) (*optional)
- [Docker Compose](https://docs.docker.com/compose/) (*optional)
- [Dockstation](https://dockstation.io/) (*optional)
### How to use?
#### Update config.ts file (src/components/config.ts)
```typescript
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
```sh
yarn
yarn start:dev
```
### Use with Docker + Docker Compose
```sh
yarn docker-compose:start
yarn docker-compose:stop
yarn docker-compose:rebuild
```
### Build GraphQL type
```sh
yarn build:graphql
```
🙌 Awesome
## License
MIT © [Cuong Nguyen](https://www.linkedin.com/in/cuong9/)
> "It's not whether you get knocked down, it's whether you get up." - Vince Lombardi