foxfriends / graphs

Graphs of things

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graphs

Some graphs for analyzing repositories, teams, and work, largely inspired by this article.

Setup

This project uses Deno to run and PostgreSQL to store the data.

Set up the environment:

  1. Create a database and a database user for this app (createdb graphs; createuser graphs -slP).
  2. Create .env file (copy the .env.example) and fill in the necessary values, if not already correct from .env.defaults (see dotenv).
  3. Create a Github Personal Access Token for the Github API. You will get errors if the permissions are wrong, but which are required is not yet determined.
  4. Migrate the database using Nessie (deno task nessie migrate)
  5. Populate the database with some data using the populate script (see deno task populate --help)

You should now be able to run the app by running deno task dev in the app directory.

About

Graphs of things


Languages

Language:TypeScript 95.5%Language:CSS 3.6%Language:HTML 0.7%Language:Shell 0.2%