Skip to content

wenruiliau/shortlah-server

Repository files navigation

ShortLah link shortener server backend

Backend for Shortlah URL shortener.

Description

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.

Getting Started

Dependencies

Installing

  • Setup environment variables
    • cp .env.example .env
    • Add your MongoDB cluster password in .env
  • Change MongoDB endpoint
    • In app.js, change the uri variable with your MongoDB cluster.
  • Install dependencies
    • npm install

Executing program

  • Run dev server
    • npm run dev
  • Dev server refreshes when updated

Authors

@wenruiliau

License

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published