Skip to content

Javad-Alipanah/clicktweak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClickTweak 1

ClickTweak is a fast URL shortener

Useful Links:

  • See openAPI documentation for more info on API structure
  • See JMETER performance test results
  • Visit my website!

Installation Guide

Prerequisites: build-essential, go, docker, docker-compose

  1. Clone repository:

    git clone https://gitlab.com/javadalipanah/clicktweak.git && cd clicktweak
  2. In order to prepare service images, you have two alternatives:

    • login to my private docker registry to be able to pull images
      dokcer login -u ${REPO_USER} -p ${REPO_PASSWORD}
    • build images:
      make static \
      && docker build -t reg.alipanah.me/core -f build/package/core.Dockerfile . \
      && docker build -t reg.alipanah.me/dispatcher -f build/package/dispatcher.Dockerfile . \
      && docker build -t reg.alipanah.me/consumer -f build/package/consumer.Dockerfile . \
      && docker build -t reg.alipanah.me/analyzer -f build/package/analyzer.Dockerfile .
  3. Run docker-compose:

    docker-compose -f deployments/docker-compose.yml up
  4. Check service health:

    • Core: localhost:8080
    • Dispatcher: localhost:8081
    • Analyzer: localhost:8082

Footnotes

  1. This project is an implementation for the Yektanet's interview project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published