git clone https://github.com/miladkhajavi/urlShortener
npm install
npm start
or
npm run build
or
npm run make
POST /generate
Field | Type | Description |
---|---|---|
Body | json |
url ?expireTime |
Example:
POST http://localhost:5050/generate
{
"url": "https://alocom.co"
}
GET /:id
Parameter | Type | Description |
---|---|---|
id |
string |
Unique Code |
Example:
GET http://localhost:5050/AjBcqAb
๐ค Milad khajavi
- Website: miladkhajavi.ir
- Github: @miladkhajavi
- LinkedIn: @miladkhajavi
Give a โญ๏ธ if this project helped you!
โค๏ธ Thank you โค๏ธ