Skip to content

A website to check who follows you back, who you follow, and who you don't follow back on github.com

License

Notifications You must be signed in to change notification settings

danilobd/github-followers

Repository files navigation

Github Followers

This is an app to see who don't follow back, who you don't follow back and who you follow back on your GitHub account.

See live beta version on Github Followers site.

Get started

  • To run this application on development mode you need to have installed the Docker end the Docker Compose.

Copy the .env.example file model to another file .env, then set the env variables in this file.

In the root folder of this project with the docker-compose installed, run:

$ docker-compose up

The React App and API server will be working with hot reload on development mode on ports set on .env file.

Production mode

  • To run this application on production mode you need to have installed the Docker to run end build the Docker image. Install Docker Compose if you want to run with Docker Compose.

In production mode, the React app will be build with static files and the Express will provide it on default route.

Width Docker Compose

Rename the .env.example to .env file and set the env variables.

Then, run docker-compose using the docker-compose.prod.yml file.

$ docker-compose -f docker-compose.yml -f docker-compose.prod.yml up --build

Width Dockerfile

To build a Docker Image of this software, with the Docker installed, run:

$ docker build -t github-following:latest .

Then run the generated image, passing the port that the application will use, and expose the port of the container:

$ docker run --env PORT=8080 -p 8080:8080 github-following