Skip to content
/ job-kit Public template
generated from cuongndc/sequelize-kit

๐Ÿ‘ฉ๐Ÿผโ€๐Ÿ’ป Cron Job KIT

License

Notifications You must be signed in to change notification settings

cuongndc/job-kit

Repository files navigation

cron-kit

๐Ÿ‘ฉ๐Ÿผโ€๐Ÿ’ป Cron Job KIT

Preparation

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',
  redisHost: process.env.REDIS_HOST || 'redis',
  redisPort: (process.env.REDIS_PORT as number | undefined) || 6379,
};

export default config;

Start application

yarn
yarn start:dev

Use with Docker + Docker Compose

yarn docker-compose:start
yarn docker-compose:stop
yarn docker-compose:rebuild

๐Ÿ™Œ Awesome

License

MIT ยฉ DUY CUONG

About

๐Ÿ‘ฉ๐Ÿผโ€๐Ÿ’ป Cron Job KIT

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published