Skip to content

πŸ”— URL Shortener

License

Notifications You must be signed in to change notification settings

l3ct3r/short.me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

84 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

short me

πŸ“ Table of contents

General Info

This project is simple URL Shortener.

Key Features

  • Clicks Counter
  • Checking link duplication
  • Manageability
  • Simple, short and clean URL

Built with

Project is created with followling tech stacks"

Tech Stacks ⏬

NODE MONGO NPM JS BOOTSTRAP EXPRESS

Tools

Tools used within this project:

Text Editor πŸ–ŠοΈ

VSCodium

OS πŸ’»

Arch Linux

Preferred Browser 🌐

Firefox

Project Setup

Installing Node on Arch Linux

1. ********** Officil Packages **********
$~ sudo pacman -Rsc -n nodejs
$~ sudo pacman -Sy nodejs
$~ sudo pacman -Sy npm

2. ********** Alternate Installation **********
$~ sudo pacman -S nodejs # also installs npm


3. ********** Snap **********
$~ sudo snap install node --classic

VS Codium installation on Linux (Arch based distributions):

1. ********** AUR **********  
$~ git clone https://aur.archlinux.org/vscodium-bin.git
$~ cd vscodium-bin
$~ makepkg -si

2. ********** Snap ********** 
$~ git clone https://aur.archlinux.org/snapd.git
$~ cd snapd
$~ makepkg -si
$~ sudo systemctl enable --now snapd.socket
$~ sudo ln -s /var/lib/snapd/snap /snap
$~ sudo snap install codium --classic

Other Configurations

Project Setup

$~ npm init

Package Setup

$~ npm i express mongoose ejs shortid

Dev Dependency Setup

$~ npm i --save-dev nodemon

Server Setup

$~ npm run shortMe

MongoDB Setup

1. Setting Up MongoDB  
$~ git clone https://aur.archlinux.org/mongodb-bin.git
$~ cd mongodb-bin 
$~ makepkg -si 

2. Setting Up MongoDB Tools
$~ git clone https://aur.archlinux.org/mongodb-tools-bin.git
$~ cd mongodb-tools-bin 
$~ makepkg -si 

3. Starting the MongoDB Service 
$~ sudo systemctl start mongodb 

4. Check the MongoDB Service 
$~ sudo systemctl status mongodb

Visual Overview

URL

LICENSE ‡️

You can check out the full license here

This project is licensed under the terms of the MIT license, feel free to share among others. πŸ˜„