/urlShortener

This project is a fullstack project build with Reactjs, Nodejs, Express, Mongodb. The project generates a shortlink out of the fullurl link

Primary LanguageJavaScript

About Shortlink Generator

This project is a fullstack project build with Reactjs, Nodejs, Express, Mongodb. The project generates a unique short url link out of full url link supplied.

Project Requirements

To get the project working in you system follow this steps:-

  • Clone or download the project

  • Cd in to the project directory and run yarn or npm install to install all the packages used to develop the project

  • In the root folder create a file with the name .env

  • In the .env file create two variables all in caps SESHSECRET and DB_URL and set them accordingly eg like so:

    • SESHSECRET = your secret
    • DB_URL = your database connection string

Available Scripts

npm start

Runs the React SPA in development mode. Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

npm run backend

Runs the shortlinks backend server. Open http://localhost:8181 to view it in the browser.