/daily-redirector

Redirect daily.dev links

Primary LanguageGoGNU Affero General Public License v3.0AGPL-3.0

Daily Redirector

Redirect daily.dev links

Build Status License StackShare

The redirector service is in charge of redirecting users to the relevant post based on a cutom daily.dev link. The service also publishes a message upon every view of a human (not a bot) so the ranking system can use it for calculating the score of every post.

Stack

  • Go v1.11
  • Go dep managing dependencies.
  • net/http as the web framework

Local environment

At the moment it is not possible to run the Redirector without access to a Google Cloud Pub/Sub instance or an emulator.

Daily Redirector requires a running instance of Dail API, you can set it up by following the instructions. The service is required for getting the post link.

Make sure to use Go 1.11 and install all dependencies using dep

Environment variables:

  • API_URL - Root url to the API service or the Gateway (if exists in the environment)

Want to Help?

So you want to contribute to Daily Redirector and make an impact, we are glad to hear it. 😍

Before you proceed we have a few guidelines for contribution that will make everything much easier. We would appreciate if you dedicate the time and read them carefully: https://github.com/dailydotdev/.github/blob/master/CONTRIBUTING.md