Skip to content

Siddhant-Baranwal/urlBackend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL Shortener website

This website takes a url and shortens it to another link. ( Note that the site has been hosted on vercel, so sometimes the resulting site might not be smaller than the original site. )

Other Links -

How to use on your laptop -

Clone this repo and open a terminal in the same folder. Now, in this folder create a .env file and write the following code in it :

MONGO_URI = "mongodb://localhost:27017"

FRONTEND_URL = "http://localhost:3000"

After doing so, go to the terminal and write the following command :

mongod

Then, open another terminal without closing the previous one and write the following command :

npm i
node .\server.js

The backend will be running after this. Then, run the frontend code and your the site will be functional on your local computer.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published