A self-hostable link shortening web application written in TypeScript on top of Restify.
This backend system is a RESTful service built upon Restify while the frontend is written in React with ES6.
- Clone the repo
- Run
npm install - Rename
db.sample.tsintodb.tsand add your MySQL crendentials into the file. - Run
gulp compile-allto transpile your TypeScript code into Node.js. - Run the
index.jsfile withnode dist/index.jsor usingnodemon,pm2, etc to execute it.
- Run
npm testto fire the tests, which mainly focus on the link converting functionality.
Cheers!