Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 631 Bytes

README.MD

File metadata and controls

43 lines (25 loc) · 631 Bytes

Url-Shortner

This is a Url shortener REST API written in Typescript

Pre-requisites

  • install Nodejs version v18.16.1

Getting Started

  1. Clone the repository:

    git clone https://github.com/emmanuel1-byte/Url-shortener-Backend.git
    
    
  2. Install dependencies:

    cd 'Url-shortener-Backend'
    npm install
    
    
  3. Build and run the project :

    npm start 
    
    
  4. Run with Docker

  • Build Image
    docker build -t url-shortener .
    
  • Build and run containers
    docker compose up -d
    
    
  1. Run test
    npm run test