Skip to content

This is a url shortner built with nodejs and mongodb with validating a url feature

License

Notifications You must be signed in to change notification settings

shahabvshahabi1996/url-shortner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Use.it (url-shortner)

This is a url shortner built with nodejs (express) and mongodb and ❤️

Features

  • validating a url 😏
  • check that a url has end point or not! 😛
  • unit testing with mochajs

app structure 📁

--- api
----- model
------- urlModel.js // mongodb model
----- connection.mongodb.js
----- routes.js
--- public
----- scripts
------- main.jquery.js
----- views
------- index.html
------- 404.html
----- styles
------- 404.css
------- index.css
--- test
----- index.test.js
--- server.js
--- package.json

how to use it ? 😕

Server

for running url-shortner server after installing node_module via command npm install simply run npm run server and then go to the http://localhost:8081/

Test

for running test methods after installing node_module via command npm install simply run mocha and you can see the test result right in your console!

Demo 😄 😎 😛

for Working With Demo You Can Click On Link Below and do not forget to give me 🌟 🌟 🌟 🌟
Check Out Demo! 😄

Releases

No releases published

Packages

No packages published