Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blaumaus/shortenurl
Vue-written web application for shorting URL's.
https://github.com/blaumaus/shortenurl
express mongoose url-shortener vue
Last synced: 18 days ago
JSON representation
Vue-written web application for shorting URL's.
- Host: GitHub
- URL: https://github.com/blaumaus/shortenurl
- Owner: Blaumaus
- License: apache-2.0
- Created: 2019-03-11T13:21:57.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T17:39:53.000Z (almost 2 years ago)
- Last Synced: 2024-12-01T15:47:08.951Z (22 days ago)
- Topics: express, mongoose, url-shortener, vue
- Language: Vue
- Homepage:
- Size: 2.99 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 40
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
In the root of the project you need to have `.env` file which contains:
```
PORT=3000
DB_CREDENTIALS=mongodb://LOGIN:PASSWORD@CLUSTER_NAME/DB_NAME?ssl=true&replicaSet=mycluster-shard-0&authSource=admin&retryWrites=true
```
where `PORT` is port which server will listen and `DB_CREDENTIALS` is link to your database.## Project setup
```
npm i
```### Compiles and hot-reloads for development
```
npm run serve
```### Compiles and minifies for production
```
npm run build
```### Run production server
```
npm run server
```### Run development server
```
npm run dev
```## Project license is located [here](https://github.com/Ookldev/shortenurl/blob/master/LICENSE)