Skip to content
/ Billy Public

A simple URL shortener app in Node.js and Vue.js

Notifications You must be signed in to change notification settings

zagaris/Billy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Billy: A simple URL shortener service in Node.js and Vue.js

A demo application for a simple URL shortener service

How it works

Everyime that you short a url you need to send the url and your preferred name. After that you can retrieve it or generate a QR code for the new url. Because the application runs on localhost, in order to retrieve the url you have to access the end point http://localhost:5000/YOUR_KEYWORD. If you run it on a server you can retrieve your url as https://Billy/YOUR_KEYWORD.

Quick Start

Clone the repo.

https://github.com/zagaris/Billy.git
cd Billy/server

Create the .env file.

DB_URL=localhost/billy
TEST_DB_URL=localhost/billy-test

Install the dependencies.

npm install

To start the express server, run the following.

npm run dev

Open http://localhost:5000 and take a look around.

Testing

You can run tests via npm:

$ npm test

or

$ npm run test

The latter command will execute all tests automatically whenever a change is detected.


Preview

License

MIT

About

A simple URL shortener app in Node.js and Vue.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published