shes
所属分类:PostgreSQL
开发工具:HTML
文件大小:118KB
下载次数:0
上传日期:2023-01-24 03:52:29
上 传 者:
sh-1993
说明: 使用Node.js和Postgresql的URL缩短器
(An URL shortener using Node.js and Postgresql)
文件列表:
.coveralls.yml (46, 2021-06-27)
.env (41, 2021-06-27)
.eslintrc.json (215, 2021-06-27)
.idea (0, 2021-06-27)
.idea\modules.xml (278, 2021-06-27)
.idea\url-shortener.iml (458, 2021-06-27)
.idea\vcs.xml (180, 2021-06-27)
LICENSE (11357, 2021-06-27)
Procfile (55, 2021-06-27)
SECURITY.md (342, 2021-06-27)
app.js (1200, 2021-06-27)
config (0, 2021-06-27)
config\config.json (474, 2021-06-27)
controllers (0, 2021-06-27)
controllers\redirect.js (765, 2021-06-27)
controllers\remove.js (1312, 2021-06-27)
controllers\shorten.js (1734, 2021-06-27)
docs (0, 2021-06-27)
docs\endpoints.json (6904, 2021-06-27)
docs\endpoints.yml (6904, 2021-06-27)
migrations (0, 2021-06-27)
migrations\20200913113511-create-entries.js (695, 2021-06-27)
models (0, 2021-06-27)
models\entries.js (564, 2021-06-27)
models\index.js (986, 2021-06-27)
package-lock.json (195897, 2021-06-27)
package.json (1797, 2021-06-27)
public (0, 2021-06-27)
public\403.html (184078, 2021-06-27)
public\404.html (14367, 2021-06-27)
... ...
# shes.link url shortener
[![GitHub deployments](https://img.shields.io/github/deployments/itishermann/shes.link/snowtrust-url-shortener?label=Heroku)](https://github.com/itishermann/shes.link/deployments/activity_log?environment=snowtrust-url-shortener)
[![Test](https://github.com/itishermann/shes.link/workflows/Test/badge.svg)](https://github.com/itishermann/shes.link/actions?query=workflow%3ATest)
[![website](https://img.shields.io/website?down_color=lightgrey&down_message=offline&up_color=green&up_message=online&url=https%3A%2F%2Fshes.link)](https://shes.link)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=HermannKK_shes.link&metric=alert_status)](https://sonarcloud.io/dashboard?id=HermannKK_shes.link)
[![Coverage Status](https://coveralls.io/repos/github/HermannKK/shes.link/badge.svg?branch=master)](https://coveralls.io/github/HermannKK/shes.link?branch=master)
>Shes.link is an url shortener using node.js and postgresql.
## Using
* [Express](https://expressjs.com/)
* [Postgresql](https://www.postgresql.org/)
## Quickstart
#### Dev
```bash
git clone https://github.com/HermannKK/shes.link.git
cd shes.link
npm install
npm run db:init
npm run dev
```
#### Production
Before running these commands make sure your have these environement variables all set:
- NODE_ENV
- DATABASE_URL
- BASE_URL
- PORT
```bash
git clone https://github.com/HermannKK/shes.link.git
cd shes.link
npm install
npm run db:init
npm run
```
## Documentation
Please refer to the [Wiki](https://github.com/HermannKK/shes.link/wiki)
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
近期下载者:
相关文件:
收藏者: