Code Monkey home page Code Monkey logo

node-url-shortener's Introduction

Trim


The Trim Link Shortener and Sharing Tool is what identify and engage your audience.

Not just a link shortener but branded and can track engagements.


Features

  • Shorten urls.
  • Count number of clicks.
  • Share links to social media.

Getting Started

Below are instructions to kick start AutoMart in your local server.

First off, you must have node/npm installed. Install the latest node version here. Not to worry, the npm package comes along with the node package

Installation

  1. Clone this repository by running this on your terminal: git clone https://github.com/hngi/node-url-shortener.git
  2. Navigate to the project's directory with: cd node-url-shortener
  3. Run npm install to install dependencies
  4. You will need to connect to the database using the .env.example
  5. Run npm run start-dev to start the server on a local host
  6. Run npm test to test.
Test Driven

Tests are written with mocha, chai-http and chai.

This will be the file and folder structure
src
├── config
       ├── constants.js  
├── controllers  
├── database
├── helpers  
├── middlewares 
├── models 
├── routes   
├── services  
├── tests  
└── views                     

Stack:

  • Bootstrap
  • Node
  • Mongodb

License

ISC License

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.