Skip to content

opallabs/URL-Shortner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 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 algoritham and check duplicate short codes

License

MIT

About

Creating custom URL shortener With Nodejs

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 87.2%
  • CSS 7.3%
  • HTML 5.5%