Tiny is a minimalistic REST service for url shortening, written in TypeScript.
- Node.js v14.15.4+
- MySQL Database
Tiny is configured through dotenv
.
The configuration files are named <environment>.env.local
.
The following settings are available:
SERVICE_PORT
(default: 8080): The port the service is running on.
SERVICE_DOMAIN
(default: http://localhost:8080): The domain this service is running on.
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.
This project is licensed under the MIT license.