Skip to content

Blazing fast URL shortening API. Created with Elixir.

License

Notifications You must be signed in to change notification settings

EssenceOfChaos/lil_links

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LilLinks

LilLinks is a blazing fast URL shortening service. It's written in Elixir with availability, scalability, and performance in mind. Progress is still ongoing with plans to add additional features to shortened links such as:

  • expiration dates
  • password protection
  • high volume resiliency

To start the application, git clone to get a local copy. cd lil_links and run mix.deps.get to fetch the application dependencies. Next, start the application with mix phx.server. (Note: an active instance of postgres will have to be running locally on the default port of 5432.)

Feel free to request a feature or submit a pull request.

Example POST request:

Insomnia screenshot

Example GET request:

In the browser navigate to http://localhost:4000/api/:hash, where :hash is replaced with the hash received in the reponse of a POST request.

For example: while the application is running, navigating to http://localhost:4000/api/6R2k1F redirects to https://elixircasts.io/json-api-with-phoenix-1.4

About

Blazing fast URL shortening API. Created with Elixir.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages