/url-shortener-api

rest api using node.js and mongodb

Primary LanguageJavaScript

url-shortener-api

API shortener url. Allows create, update, delete short links. Also create account and login.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installing

Clone this project

git clone https://github.com/DemyanchikVadim/url-shortener-api.git

Install dependencies

npm install or yarn install

Create etc/config.json

{
 "dbUrl":"here should be your url"
 "jwtSecret": "here should be your secret"
}

Run project

npm start or yarn start

Built With

  • Express - fast, unopinionated, minimalist web framework for Node.js
  • Mongodb - is a free and open-source cross-platform document-oriented database program

Author