Skip to content

tobiadiks/shorty

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Api Documentation

encodes url

path http://localhost:3000/encode

body { "link":"https://google.com" }

decodes short url

path http://localhost:3000/decode

body { "short_link": "http://localhost:3000/na4eoLIF3A" }

get statistic

path http://localhost:3000/stats/{param:short_url}

param na4eoLIF3A

visits and redirect

http://localhost:3000/na4eoLIF3A

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published