Skip to content

decss/MERN-url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Url shortener on MERN

API/Client app to shorten links on MERN.

  • Client interacts with user on 5000 port and located at /client.
  • API handle Client requests on local port 3000 like login, register, generate, get link and interacts with DB. Located at project's root.

You can see working example here: http://217.16.18.253:5000
Use demo account in case you don't want to register
Email: demo@gmail.com
Password: pass

Some details

  • Frontend port: 5000
  • Backend port: 3000 (for local api requests)

Installation

git clone https://git...    // clone repo

After cloning repo rename config/default.json.example to config/default.json
At least set mongoUri to connect to your DB in default.json. If you are running app remotely set baseUrl corresponding to your domain or IP

npm i                       // install api deps 
npm run client:install      // install client deps
npm run client:build        // build app front
npm run start               // run in production, "npm run dev" for dev

About

Url shortener service using MERN stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published