Skip to content

rakeshkumargupta/url-shortener-backend

Repository files navigation

url-shortener-backend

Url Shortener Backend

Creating custom URL shortener back-end With NodeJS, MongoDB

Built with ❤︎

Building a custom URL shortening rest api using NodeJS, ExpressJS and MongoDB.

Architecture Design

architecture

Technologies

  • Back end

    • Express- Nodejs framwork for building the REST Apis
    • Mongodb- Document oriented NoSQL database
    • Mongoose- MongoDB object modeling tool
    • Short-id- Short id generator
    • Valid-url- URI validation functions
    • Nginx- Nginx is event-based and asynchronous web server.

Getting Started

Clone the project

# clone it
git clone https://github.com/rakeshkumargupta/url-shortener-backend.git
cd url-shortener-backend
# Make it your own
rm -rf .git && git init

Run back end

MongoDB must be installed on the machine and listening on default port (27017).

# Install dependencies
npm install
# Start  client
npm start

Run front end

Check out repository https://github.com/rakeshkumargupta/url-shortener-frontend for running React based front end web app.

License

GNU

About

Url Shortener Backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published