Giter Site home page Giter Site logo

darlanschwartz / api-shortly Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 44 KB

This is the API/Server of a link shortener website , Frontend repository -> https://github.com/DarlanSchwartz/Shortly

Home Page: https://shortl-y.vercel.app/

JavaScript 100.00%

api-shortly's Introduction

API Shortly

API Shortly is the backend service that powers the Shortly URL shortener application. This repository contains the source code for the API, which handles URL shortening, user management, and other related functionalities.

Introduction

API Shortly serves as the backend infrastructure for the Shortly URL shortener application. It is built using Node.js and Express, providing a robust and scalable foundation for the frontend application.

Features

API Shortly offers the following key features:

  • URL shortening service: Convert long URLs to short, easy-to-share links.
  • User authentication system: Allows users to register, log in, and manage their shortened URLs.
  • Analytics tracking: Provides insights into the performance of each shortened URL (clicks).

Installation

To run API Shortly on your local machine or server, follow these steps:

  1. You need to have PostgreSQL installed on your machine, if so you need to create a database called shortly and run the dump.sql code "inside" this shortly database

  2. Clone this repository:

git clone https://github.com/DarlanSchwartz/API-Shortly.git 
  1. Navigate to the project directory:
cd API-Shortly
  1. Install the required dependencies:
npm install
  1. Configure the environment variables. You can use the provided .env.example file as a template.

  2. Start the server:

npm run dev 

or

API Shortly should now be up and running on the specified port, and it's ready to serve requests from the Shortly frontend application.

Usage

API Shortly is designed to be used in conjunction with the Shortly frontend application. It handles API requests related to URL shortening, user authentication, analytics, and more.

Ensure that the Shortly frontend application is correctly configured to communicate with this API. Once both components are set up, users can start using the Shortly application seamlessly.

You can test the app at https://shortl-y.vercel.app/

api-shortly's People

Contributors

darlanschwartz 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.