Skip to content

withDustin/targeek-image-server

Repository files navigation

Targeek Image Server

An image server that optimizes images by sharp and upload them to AWS S3. Made to serve a huge amount of requests.

CircleCI PRs Welcome Maintenance code style: prettier docker hub pulls TypeScript

Usage

Use this docker image targeek/targeek-image-server

docker pull targeek/targeek-image-server
# or
docker run -p 4000:4000 -e REDIS_URI=redis://redis-uri targeek/targeek-image-server

Development

  1. Clone this repository
  2. Install dependencies
yarn install
  1. Setup environment variables by edit .env, .env.development, .env.production. You can see the list of environment variables in the src/types/modules.d.ts file.

  2. Run

# Run in development mode
yarn start

# Run in production mode
yarn build
yarn start:production

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Working on your first Pull Request? You can learn how from this free series How to Contribute to an Open Source Project on GitHub

License

MIT

About

Image server, optimized with sharp, saved on AWS S3

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published