文件名称:URLShortener:用nodejs编写的URL缩短器!
文件大小:18KB
文件格式:ZIP
更新时间:2021-03-28 08:20:50
TypeScript URL缩短器(原型) 入门 cd到/backend npm i npm start 节点服务器现在将在端口3000上运行。将有一个/api/shorten端点,它以“ url”作为查询参数。 然后,服务器将生成其自己的URL进行重定向。 为了测试URL缩短器: cd进入/testing python3 poster.py
【文件预览】:
URLShortener-master
----backend()
--------src()
--------tsconfig.json(6KB)
--------package-lock.json(44KB)
--------package.json(381B)
----README.md(857B)
----testing()
--------poster.py(287B)
----.gitignore(22B)