@am271/url-shortener

1.1.0 • Public • Published

URL Shortener

This is a simple URL Shortener built using Node JS.

Usage

Git clone the above repository and run the command:

node server.js 127.0.0.1

Press Ctrl + C to shutdown the server.

Important note

It is important to use 127.0.0.1 instead of localhost. This is because most browsers implement the CORS policy that does not allow the client side javascript to access the resources outside its domain. To read more about it, click here.

To change the port number

Edit the 'server.js' file and 'index.js'.

Modules used

You do not need to manually install the modules after cloning the repository.

Dependents (0)

Package Sidebar

Install

npm i @am271/url-shortener

Weekly Downloads

1

Version

1.1.0

License

ISC

Unpacked Size

1.86 MB

Total Files

10

Last publish

Collaborators

  • am271