Skip to content

addempsea/shortenurl-backend

Repository files navigation

shortenurl backend

Getting Started

To get a copy of this project up and running on your local machine for testing and development, you would need to have a minimum of the listed prerequisites installed on your local machine.

Prerequisites

You must have

  1. Node.js (v8.12.0 or higher) and npm (6.4.1 or higher) installed on your local machine. Run node -v and npm -v in your terminal to confirm that you have them installed

  2. GIT and Bash

Installation

To get started, clone this repository on your local machine using the following steps:

Open your terminal and navigate to the folder you want the project to be and enter the the following commands:

git clone -b main https://github.com/addempsea/shortenurl-backend.git
cd shortenurl-backend
npm install

Create a .env file and add the environment variables described in the .env.sample file.

Starting the dev server

npm run dev

Starting the production server

npm start

Technologies

  • Node JS
  • Express
  • GraphQl

About

A graphql url shortener

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published