Backend for Shortlah URL shortener.
Node ExpressJS backend for a URL shortener. Built with the MERN stack (MongoDB, Express, ReactJS, Node). Accompanying frontend repo is here.
Bootstrapped with Express-REST-API-Template.
Live demo here.
- Setup environment variables
cp .env.example .env
- Add your MongoDB cluster password in
.env
- Change MongoDB endpoint
- In
app.js
, change theuri
variable with your MongoDB cluster.
- In
- Install dependencies
npm install
- Run dev server
npm run dev
- Dev server refreshes when updated
MIT License