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
- Host: GitHub
- URL: https://github.com/andy9775/shrtnr
- Owner: andy9775
- License: apache-2.0
- Created: 2016-07-06T17:18:30.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-14T06:15:22.000Z (almost 10 years ago)
- Last Synced: 2025-09-10T02:32:53.968Z (9 months ago)
- Language: JavaScript
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"}".