Skip to content

Choco02/cake-url-shortener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple url shortener using Node.js, EJS and MongoDB

UI design is not my speciality, sorry

You are free for modify it

Check it out at https://cak3.glitch.me/ (wait project to wake up)

A shortened example link https://cak3.glitch.me/saveyourtears

How to run the project ✨

  • Clone the project
  • Download and install Node.js (if you haven't already)
  • Run npm i
  • Go to MongoDB Atlas website, create a cluster then get a string connection key something like this "mongodb+srv://<username>:<password>@cluster0-28wdas.mongodb.net/test?retryWrites=true&w=majority"
  • Create a .env file with content MONGODB_URI=<your_mongodb_connection_key>
  • Run it using npm run dev for DEV mode and npm run start for PROD

TODO

  • Change create url route to POST

  • Add a logger

  • Add tests

  • Create a route API

Background image by pikisuperstar

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published