An open API service indexing awesome lists of open source software.

https://github.com/andy9775/shrtnr

A simple URL shortening service written in node with react and express
https://github.com/andy9775/shrtnr

Last synced: 8 months ago
JSON representation

A simple URL shortening service written in node with react and express

Awesome Lists containing this project

README

          

# shrtnr

**Currently in development**

An open source url shortener written with express, react and a few other tools


TODO

* sign up
* logging in
* dashboard (display analytics)
* add analytics capturing
* fix webpack output during tests (low priority)


## API usage
To post a new URL to the server post to /api/v1 with the message body as {longUrl: "http://example.com"}. The server should respond with {"longUrl":"http://example.com","shortUrl":"http://configdomain.com/4D9a2"}. An invalid URL will return "{"errorMessage":"Invalid URL"}".