Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ProjectifyOfficial/URL-Shortner

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL-Shortner

Creating custom URL shortener With Nodejs

Built with ❤︎

Building a custom URL shortening service like goo.gl using ExpressJs and Mongodb

Architecture

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.
  • Front end

    • React - JavaScript library for building user interfaces.
    • React-router- Complete routing library for React
    • Materialize css- Responsive front-end framework based on Material Design

Getting Started

Clone the project

# clone it
git clone https://github.com/muhzi4u/URL-Shortner.git
cd URL-Shortner
# Make it your own
rm -rf .git && git init

Run back end

# Move to server folder
cd server/
# Install dependencies
yarn install

# Start  server
yarn run server

Run front end

# Move to client folder
cd client/
# Install dependencies
yarn install
# Start  client
yarn run start

Demo

NSGIF

Blog

Creating custom URL shortener with Nodejs

☑ TODO

  • Front end app
  • Documentation and Blog
  • Add Redis for caching
  • Change short code algorithm and check duplicate short codes

License

MIT

About

Creating custom URL shortener using Nodejs

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 89.5%
  • CSS 6.0%
  • HTML 4.5%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.