Skip to content

A self-hostable link shortening web application written in TypeScript

License

Notifications You must be signed in to change notification settings

TonyChol/tinyurl-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyURL

Intro

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.

Usage

  1. Clone the repo
  2. Run npm install
  3. Rename db.sample.ts into db.ts and add your MySQL crendentials into the file.
  4. Run gulp compile-all to transpile your TypeScript code into Node.js.
  5. Run the index.js file with node dist/index.js or using nodemon, pm2, etc to execute it.

Test

  1. Run npm test to fire the tests, which mainly focus on the link converting functionality.

Cheers!

About

A self-hostable link shortening web application written in TypeScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published