Skip to content

Swag666baby/url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

building

• cloning

git clone https://github.com/Swag666baby/url-shortener
cd url-shortener 

• running

yarn
tsc
node dist/server

example of use

const axios = require("axios");
async function shortener(){
    const request = await axios.post("http://localhost:3000/shorter", {"url": "https://github.com"})
    console.log(request.data)
}
shortener()

Releases

No releases published

Packages

No packages published