Th3Shadowbroker / tiny

A minimalistic service for url-shortening written in TypeScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tiny

Tiny is a minimalistic REST service for url shortening, written in TypeScript.

Requirements

  • Node.js v14.15.4+
  • MySQL Database

Configuration

Tiny is configured through dotenv. The configuration files are named <environment>.env.local.

The following settings are available:

Service related

SERVICE_PORT (default: 8080): The port the service is running on.

SERVICE_DOMAIN (default: http://localhost:8080): The domain this service is running on.

Database related

DB_HOST: (default: localhost): The database host.

DB_PORT: (default: 3306): The database port.

DB_USER: (default: root): The database user.

DB_PASS: (default: None): The database password.

DB_NAME: (default: tiny): The database tiny should use.

License

This project is licensed under the MIT license.

About

A minimalistic service for url-shortening written in TypeScript.

License:MIT License


Languages

Language:TypeScript 100.0%