An open-source URL Shortener written in Node.js πŸ”—

Overview

What's this?

Qurl.gq is an open-source URL Shortener written in Node.js πŸ”—

Contributing ideas

  • Apply a custom font
  • Add tests
  • UI Improvements
  • Sanitise user input

Screenshots

Screen Shot 2022-10-06 at 1 00 44 PM Screen Shot 2022-10-06 at 1 01 15 PM

Development

Clone the repo

git clone https://github.com/TheRedstoneRadiant/Qurl.gq
cd Qurl.gq

Copy .env.example and replace MongoDB URI

cp .env.example .env
nano .env

Install dependencies

npm install

Start development server

npm run dev

Tech Stack

Webserver: Express.js

Database: MongoDB

CSS Library: PicoCSS

Comments
  • Added the map

    Added the map

    Fixes [#18 ] Added the Map using MapBox.

    Map Features

    • Map style changes( dark/light) according to the page theme
    • Automatic zoom fit to accommodate all the location pointer
    • User can pan around
    • User can also zoom in and zoom out

    Necessary for map feature to work

    Steps to add a map token from MapBox

    1. log in to MapBox https://www.mapbox.com/
    2. Go to the tokens
    3. Create a new one or use the existing one( copy it)
    4. Pest it into the .env file in the MAP_TOKEN field

    Optional

    1. You can also change the map style
    2. Go to MapBox studio and design a new map style
    3. And then paste the share link of the style into the MAP_STYLE field of .env file

    Screenshot

    image

    image

    Note- (Above map data are random and are taken only for the purpose of testing)

    hacktoberfest-accepted 
    opened by BiswajitSahoo-tech 8
  • feat: Handle DB Connection Error

    feat: Handle DB Connection Error

    Handle the following situations:

    • Exit application when MONGO_URI is not provided.
    • Exit application when MongoDB instance cannot connect.

    This closes #5

    opened by westerandr 1
  • Add support for Typescript ❀

    Add support for Typescript ❀

    I would like to set the project to use Typescript instead of vanilla Javascript. It will make the app easier to scale, read and maintain.

    If you are interested assign me this issue and I will create the PR 😊

    opened by GuillemPM 1
  • Handle DB not connected scenario

    Handle DB not connected scenario

    Hi there, how would you like to handle the situation where a user visits Qurl.gq but the MongoDB instance is not able to connect.

    a. Stop NodeJS Server? b. Allow the server to still run but provide client with feedback that a DB issue is being experienced and to check back later?

    Upon your answer, can I be assigned this issue please?

    Thank you for reading this issue.

    hacktoberfest 
    opened by westerandr 1
  • Add a Linter

    Add a Linter

    Hello, I would like to add the ESLint into this project it will help us avoid certain code patterns that often lead to bugs. and i will Create a simple "one-step" solution for running your linter on the entire project from the command line. and will fix the warnings and errors if it finds any thanks can you please assign this to me as well if you want to add it into ESLint your project.

    opened by anshul137 1
Owner
RedstoneRadiant
:(){ :|: & };:
RedstoneRadiant
A URL shortener that runs on Cloudflare Workers

ITP Works A URL shortener that runs on Cloudflare Workers. It stores the rules in Cloudflare KV storage and sends a 301 redirect when a matched pathna

Yifei Gao 3 Mar 4, 2022
Another full-stack URL Shortener application built using web technologies

URL Shortener Another full-stack URL Shortener application built using web technologies. Technologies Node Express MongoDB React TypeScript Docker Pro

Soroush Chehresa 9 Dec 15, 2022
πŸ”–Minimalistic URL shortener as a microservice

?? u Minimalistic URL shortener as a microservice. Also Klein's successor. ?? stack Node.js TypeScript Express Prisma PostgreSQL Redis Docker Docker C

Faye Keller 9 Jul 17, 2022
Our super simple URL shortener. Powered by Deno and Supabase.

Feelantera URL Shortener This is our super simple URL shortener. Powered by Supabase and Deno, and Oak for the http framework. You can deploy this pro

Feelantera 16 Oct 14, 2022
URL Shortener API in NodeJS supporting pagination, sort params and lot more

node-url-shortener Built with ❀️ in NodeJS A simple URL Shortner REST API that uses shortid npm package to generate short endpoints for your long URL.

Dhairya Ostwal 3 Sep 22, 2022
MagπŸ”₯Lit - A super fast and easy-to-use free and open source private encrypted Magnet/HTTP(s) Link Shortener

Mag ?? Lit Mag ?? Lit - A super fast and easy-to-use free and open source private encrypted Magnet/HTTP(s) Link Shortener https://maglit.ml Features βœ…

null 280 Jan 8, 2023
Piccloud is a full-stack (Angular & Spring Boot) online image clipboard that lets you share images over the internet by generating a unique URL. Others can access the image via this URL.

Piccloud Piccloud is a full-stack application built with Angular & Spring Boot. It is an online image clipboard that lets you share images over the in

Olayinka Atobiloye 3 Dec 15, 2022
⚑️ Free, open-source and easy to setup tempmail written in Node.JS!

tempmail-js ⚑️ Free, open-source and easy to setup tempmail written in Node.JS! tempmail.js uses MongoDB to store it's data. Installation Installing t

vida 2 Nov 7, 2022
⚑ Self-hostable branded link shortener built with Next.js & Notion API

Notiolink ⚑ Self-hostable branded link shortener built with Next.js & Notion API Made by Theodorus Clarence Installation Guide Please read the full gu

Theodorus Clarence 144 Dec 27, 2022
Reference for How to Write an Open Source JavaScript Library - https://egghead.io/series/how-to-write-an-open-source-javascript-library

Reference for How to Write an Open Source JavaScript Library The purpose of this document is to serve as a reference for: How to Write an Open Source

Sarbbottam Bandyopadhyay 175 Dec 24, 2022
An Open-Source Platform to certify open-source projects.

OC-Frontend This includes the frontend for Open-Certs. ?? After seeing so many open-source projects being monetized ?? without giving any recognition

Open Certs 15 Oct 23, 2022
Shikhar 4 Oct 9, 2022
This is a project for open source enthusiast who want to contribute to open source in this hacktoberfest 2022. πŸ’» πŸŽ―πŸš€

HACKTOBERFEST-2022-GDSC-IET-LUCKNOW Beginner-Hacktoberfest Need Your first pr for hacktoberfest 2k22 ? come on in About Participate in Hacktoberfest b

null 8 Oct 29, 2022
A free and open-source Automatic Account Creator (AAC) written in Javascript Stack;

A free and open-source Automatic Account Creator (AAC) written in Javascript Stack. ????‍?? Techs Front-end Vue.js Vuex-module-decorators Vuetify.js N

null 24 Dec 17, 2022
AwardBot is an open source advanced giveaway bot. Written in Discord.js

AwardBot is an open source advanced giveaway bot. Written in Discord.js. You can set conditions for the giveaways, automatically deliver the prizes, and lock the giveaways.

Award 2 Oct 29, 2022
CSVx.js is an open source CSV library written in TypeScript

This project has been transferred to DWTechs. Please update your project dependencies to the latest version from the new repository. Synopsis CSVx.js

Ludovic CLUBER 2 Nov 5, 2022
A recreation of a startpage posted on Reddit without the source, so I rewrote it in Next.js + Tailwind for the open source community.

Startpage "Figma Balls" Rewrite Why Did I Make This I saw a startpage posted on the subreddit r/startpages that I thought looked nice, but when I look

Thomas Leon Highbaugh 5 Mar 29, 2022
Let's participate in Hacktoberfest and contribute to open-source. Star the repo and open a PR to get accepted.

Let's Contribute To Open-source First Contributions This project aims to simplify and guide the way, beginners can make their first contribution towar

Ehmad Saeed⚑ 5 Dec 3, 2022