Coder Social home page Coder Social logo

url-shortener's Introduction

Welcome to the URL Shortner ๐Ÿช„

Repository Banner

Overview ๐Ÿ’ก

This is a code challange by Devgym to create a URL shortner.

How to play with docker-compose and air ๐Ÿณ ๐ŸŽฎ

To play the app with docker-compose, you can clone this repository and run the following commands:

# Clone the repository
git clone

# Enter the repository folder
cd url-shortner

# Run the Makefile to run the docker-compose with air
docker-compose up air

Requirements

In this challenge you must create a server that shortens urls and redirects.

-- Create an http server that contains two endpoints:

  • POST / - takes a url and returns a unique code
  • GET /:code - use the code to redirect to the original url

-- The code is a unique code, the same url sent multiple times generates different codes -- The code is up to 6 characters long

Study Suggestions

If you're eager to dive into the technologies that power this app, I recommend exploring the following:

Go (Golang): Golang is an excellent language for building fast and efficient server-side applications. Its simplicity and performance make it a great choice for this project.

PostgreSQL: For a robust and scalable database solution, consider delving into PostgreSQL. It offers advanced features and reliability, perfect for storing the data behind this app.

url-shortener's People

Contributors

kameikay avatar

Stargazers

 avatar

Watchers

 avatar

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.