tinyURL is an API that allows a person to create a shortened URL.
The project is written with Javascript using express Node.js application framework and MongoDB as the database.
-
User can signup and login to their account.
-
User account activated using JSON web token authenitcation.
-
User password is encrypted for security.
-
only Authorized users can create, read and delete tiny urls.
-
Authorized users can deactive or delete their account with JSON web token authenitcation.
Install node from the website and download node for your device type:
$ https://nodejs.org/en
Install MongoDB for your operating system from the website:
$ https://www.mongodb.com/docs/manual/installation/
Clone this repository and run locally
git clone https://github.com/Moliki-Salman/tinyURL.git
Run this code to get started
npm install
To test this project API, run locally
$ npm run test
- start the application by running:
$ nodemon app.js
- connect to the API using postman on port 3000