Skip to content

Post0HQ/posting-worker

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Discord Backers on Open Collective Sponsors on Open Collective Donate us Support us Follow us on Twitter

Description

Posting Worker is a NestJS service that handles the scheduling and posting of social media content across multiple platforms like LinkedIn, Twitter, and others. It's designed to work with a Postgres database and Redis for job queuing.

Key features:

  • Schedule post creation for multiple social platforms
  • Support for LinkedIn and Twitter/X posting
  • Post management with status tracking
  • Optimistic locking to prevent conflicts
  • Automatic retry mechanisms
  • Support for multiple timezones
  • Queue-based architecture using Bull

Project setup

$ bun install

Compile and run the project

# development
$ bun run start

# watch mode
$ bun run start:dev

# production mode
$ bun run start:prod

Run tests

# unit tests
$ bun run test

# e2e tests
$ bun run test:e2e

# test coverage
$ bun run test:cov

Deployment

When you're ready to deploy your NestJS application to production, there are some key steps you can take to ensure it runs as efficiently as possible. Check out the deployment documentation for more information.

If you are looking for a cloud-based platform to deploy your NestJS application, check out Mau, our official platform for deploying NestJS applications on AWS. Mau makes deployment straightforward and fast, requiring just a few simple steps:

$ bun install -g @nestjs/mau
$ bun deploy

With Mau, you can deploy your application in just a few clicks, allowing you to focus on building features rather than managing infrastructure.

About

Social media posting worker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages