Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterdee/vue-url-shortner
Frontend for the deno-url-shortner project
https://github.com/peterdee/vue-url-shortner
deno express frontend heroku static url-shortener vue vue-router vue-url-shortner
Last synced: 7 days ago
JSON representation
Frontend for the deno-url-shortner project
- Host: GitHub
- URL: https://github.com/peterdee/vue-url-shortner
- Owner: peterdee
- Created: 2020-05-30T15:59:26.000Z (over 4 years ago)
- Default Branch: stage
- Last Pushed: 2020-06-08T14:39:50.000Z (over 4 years ago)
- Last Synced: 2024-11-20T14:51:00.749Z (2 months ago)
- Topics: deno, express, frontend, heroku, static, url-shortener, vue, vue-router, vue-url-shortner
- Language: Vue
- Homepage: https://vue-url-shortner.herokuapp.com
- Size: 218 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## vue-url-shortner
[![Build Status](https://travis-ci.com/peterdee/vue-url-shortner.svg?branch=stage)](https://travis-ci.com/peterdee/vue-url-shortner)
[![Known Vulnerabilities](https://snyk.io/test/github/peterdee/vue-url-shortner/badge.svg?targetFile=package.json)](https://snyk.io/test/github/peterdee/vue-url-shortner?targetFile=package.json)
Frontend for the [deno-url-shortner](https://github.com/peterdee/deno-url-shortner) project.
Stack: [`Express`](https://expressjs.com/), [`Vue`](https://vuejs.org/), [`Vue-Router`](https://router.vuejs.org/)
DEV: http://localhost:5050
STAGE: https://vue-url-shortner.herokuapp.com
### Deploy
```shell script
git clone https://github.com/peterdee/vue-url-shortner
cd ./vue-url-shortner
nvm use 14
npm install
```### Environment
The `.env` file is required.
See the [.env.example](.env.example) for more information.
### Launch
```shell script
npm run serve
```### Lint
```shell script
npm run lint
```### Build
```shell script
npm run build
```### Static
Build the project and then run:
```shell script
npm run start
```Static files are served with `Express`.
See the [serve.js](serve.js) file for more information.
### Heroku
The `stage` branch is deployed to Heroku automatically.