Skip to content

pradityahendrik/url-shortener

Repository files navigation

url-shortener

Description

A simple url shortener service.

Installation

$ npm install

Docker compose

# Running postgresql and redis
$ docker-compose up -d

Seed and Migrations

# Create Migrations
$ npx sequelize-cli migration:generate --name [name_of_your_migration]
# Run Migrations Up
$ npx sequelize-cli db:migrate
# Run Migrations Down
$ npx sequelize-cli db:migrate:undo

Running the app

# development
$ npm run start

Test

# unit tests
$ npm run test

Api Docs (Swagger)

# open in browser
$ localhost:3000/api-docs

About

Simple URL Shortener

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors